Sha256: be86a00a459dc0bf87bb68df838073bdd855823673200aad860360d97c9295cb

Contents?: true

Size: 460 Bytes

Versions: 54

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

54 entries across 54 versions & 3 rubygems

Version Path
ey-core-3.2.0 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.11 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.10 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.9 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.8 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.7 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.6 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.5 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.4 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.3 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.2 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.1 lib/ey-core/collections/provider_locations.rb
ey-core-3.1.0 lib/ey-core/collections/provider_locations.rb
ey-core-3.0.5 lib/ey-core/collections/provider_locations.rb
ey-core-3.0.4 lib/ey-core/collections/provider_locations.rb
ey-core-3.0.3 lib/ey-core/collections/provider_locations.rb
ey-core-3.0.2 lib/ey-core/collections/provider_locations.rb
ey-core-3.0.1 lib/ey-core/collections/provider_locations.rb
ey-core-3.0.0 lib/ey-core/collections/provider_locations.rb
ey-pro-cli-0.0.17 lib/vendor/core/ey-core/collections/provider_locations.rb