Module: Sem::API::Traits::AssociatedWithOrg

Included in:
Projects, SharedConfigs, Sem::API::Teams, Users
Defined in:
lib/sem/api/traits/associated_with_org.rb

Instance Method Summary collapse

Instance Method Details

#list_for_org(org_name) ⇒ Object



5
6
7
8
9
# File 'lib/sem/api/traits/associated_with_org.rb', line 5

def list_for_org(org_name)
  instances = api.list_for_org(org_name)

  instances.map { |instance| to_hash(instance) }
end