module Teamlab::GroupHelper

Helper to store methods for working with groups

Public Instance Methods

info_by_name(name) click to toggle source

@param name [String] group info @return [Hash] info about that group

# File lib/teamlab/modules/group/group_helper.rb, line 8
def info_by_name(name)
  get_groups.data.each do |group|
    return group if group['name'] == name
  end
  nil
end