Sha256: aa269561ca0e62bd3c173d66d3f3087a39c95eb71a0faa753edfc1214ec3c5b4

Contents?: true

Size: 226 Bytes

Versions: 10

Compression:

Stored size: 226 Bytes

Contents

module AgraApi
  class Organisation < Base
    def base_path
      'organisations'
    end

    def find_by_host(host)
      response = client.get_request(normalized_base_path, host: host)
      response.body
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
agra_api-0.3.5 lib/agra_api/organisation.rb
agra_api-0.3.4 lib/agra_api/organisation.rb
agra_api-0.3.3 lib/agra_api/organisation.rb
agra_api-0.3.2 lib/agra_api/organisation.rb
agra_api-0.3.1 lib/agra_api/organisation.rb
agra_api-0.3.0 lib/agra_api/organisation.rb
agra_api-0.2.1 lib/agra_api/organisation.rb
agra_api-0.2.0 lib/agra_api/organisation.rb
agra_api-0.1.1 lib/agra_api/organisation.rb
agra_api-0.1.0 lib/agra_api/organisation.rb