Class: Ey::Core::Client::ProviderLocations
- Inherits:
-
Ey::Core::Collection
- Object
- Cistern::Collection
- Ey::Core::Collection
- Ey::Core::Client::ProviderLocations
- Defined in:
- lib/ey-core/collections/provider_locations.rb
Instance Method Summary collapse
Methods inherited from Ey::Core::Collection
#==, #all, #collection_request, #collection_root, #create!, #each_entry, #each_page, #first, #get, #get!, #last_page, #load, #model_request, #model_root, #new_page, #next_page, #one, #page_parameters, #perform_get, #previous_page
Instance Method Details
#discover(location_id) ⇒ Object
10 11 12 |
# File 'lib/ey-core/collections/provider_locations.rb', line 10 def discover(location_id) connection.requests.new(self.connection.discover_provider_location(self.url, location_id).body["request"]) end |