class AgraApi::Organisation

Public Instance Methods

base_path() click to toggle source
# File lib/agra_api/organisation.rb, line 3
def base_path
  'organisations'
end
find_by_host(host) click to toggle source
# 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