Sha256: be86a00a459dc0bf87bb68df838073bdd855823673200aad860360d97c9295cb

Contents?: true

Size: 460 Bytes

Versions: 53

Compression:

Stored size: 460 Bytes

Contents

class Ey::Core::Client::ProviderLocations < Ey::Core::Collection

  model Ey::Core::Client::ProviderLocation

  self.model_root         = "provider_location"
  self.model_request      = :get_provider_location
  self.collection_root    = "provider_locations"
  self.collection_request = :get_provider_locations

  def discover(location_id)
    connection.requests.new(self.connection.discover_provider_location(self.url, location_id).body["request"])
  end
end

Version data entries

53 entries across 53 versions & 3 rubygems

Version Path
ey-core-3.6.4 lib/ey-core/collections/provider_locations.rb
ey-core-3.6.3 lib/ey-core/collections/provider_locations.rb
ey-core-3.6.1 lib/ey-core/collections/provider_locations.rb
groove-ey-core-3.6.3 lib/ey-core/collections/provider_locations.rb
groove-ey-core-3.6.2 lib/ey-core/collections/provider_locations.rb
groove-ey-core-3.6.1 lib/ey-core/collections/provider_locations.rb
ey-core-3.5.0 lib/ey-core/collections/provider_locations.rb
ey-core-3.4.4 lib/ey-core/collections/provider_locations.rb
ey-core-3.4.2 lib/ey-core/collections/provider_locations.rb
ey-core-3.4.1 lib/ey-core/collections/provider_locations.rb
ey-core-3.4.0 lib/ey-core/collections/provider_locations.rb
ey-core-3.3.1 lib/ey-core/collections/provider_locations.rb
ey-core-3.3.0 lib/ey-core/collections/provider_locations.rb
ey-core-3.2.6 lib/ey-core/collections/provider_locations.rb
ey-core-3.2.5 lib/ey-core/collections/provider_locations.rb
ey-core-3.2.4 lib/ey-core/collections/provider_locations.rb
ey-core-3.2.3 lib/ey-core/collections/provider_locations.rb
ey-core-3.2.2 lib/ey-core/collections/provider_locations.rb
ey-core-3.2.1 lib/ey-core/collections/provider_locations.rb
ey-core-3.2.0 lib/ey-core/collections/provider_locations.rb