Class: Imgur::Image
Instance Attribute Summary
Attributes inherited from Model
#attributes, #errors, #response
Class Method Summary collapse
Methods inherited from Model
#attribute_keys, find_by_id, headers, #initialize, #method_missing
Constructor Details
This class inherits a constructor from Imgur::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Imgur::Model
Class Method Details
.collection(images) ⇒ Object
5 6 7 8 9 |
# File 'lib/imgur/image.rb', line 5 def self.collection(images) images.map do |image| new(image) end end |