Class: AgraApi::Organisation
- Defined in:
- lib/agra_api/organisation.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#base_path ⇒ Object
3 4 5 |
# File 'lib/agra_api/organisation.rb', line 3 def base_path 'organisations' end |
#find_by_host(host) ⇒ Object
7 8 9 10 |
# File 'lib/agra_api/organisation.rb', line 7 def find_by_host(host) response = client.get_request(normalized_base_path, host: host) response.body end |