Class: Ey::Core::Client::Addons

Inherits:
Ey::Core::Collection show all
Defined in:
lib/ey-core/collections/addons.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, #previous_page

Instance Method Details

#perform_get(params) ⇒ Object



9
10
11
12
13
14
# File 'lib/ey-core/collections/addons.rb', line 9

def perform_get(params)
  id = params.delete("id") or raise "ID needed"
  url = "#{self.url}/#{id}"
  params['url'] = url
  super(params)
end