Class: Ey::Core::Client::AddonAttachments

Inherits:
Ey::Core::Collection show all
Defined in:
lib/vendor/core/ey-core/collections/addon_attachments.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



10
11
12
13
14
15
# File 'lib/vendor/core/ey-core/collections/addon_attachments.rb', line 10

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