Method: Camdram::Client#get_orgs
- Defined in:
- lib/camdram/client.rb
#get_orgs ⇒ Array
Returns an array of all registered organisations
163 164 165 166 167 |
# File 'lib/camdram/client.rb', line 163 def get_orgs url = "#{Organisation.url}.json" response = get(url) split_object( response, Organisation ) end |