Class: GdsApi::Organisations
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#client, #create_client, #get_list!, #initialize, #url_for_slug
Constructor Details
This class inherits a constructor from GdsApi::Base
Instance Method Details
#organisation(organisation_slug) ⇒ Object
9 10 11 |
# File 'lib/gds_api/organisations.rb', line 9 def organisation(organisation_slug) get_json "#{base_url}/organisations/#{organisation_slug}" end |
#organisations ⇒ Object
5 6 7 |
# File 'lib/gds_api/organisations.rb', line 5 def organisations get_list! "#{base_url}/organisations" end |