Class: Readypulse::ImageCollection
- Inherits:
-
Array
- Object
- Array
- Readypulse::ImageCollection
- Defined in:
- lib/readypulse/image_collection.rb
Instance Attribute Summary collapse
-
#album_id ⇒ Object
Returns the value of attribute album_id.
-
#images ⇒ Object
Returns the value of attribute images.
Instance Method Summary collapse
-
#initialize(album_id:) ⇒ ImageCollection
constructor
A new instance of ImageCollection.
Constructor Details
#initialize(album_id:) ⇒ ImageCollection
Returns a new instance of ImageCollection.
6 7 8 9 10 |
# File 'lib/readypulse/image_collection.rb', line 6 def initialize(album_id:) @album_id = album_id get_images end |
Instance Attribute Details
#album_id ⇒ Object
Returns the value of attribute album_id.
4 5 6 |
# File 'lib/readypulse/image_collection.rb', line 4 def album_id @album_id end |
#images ⇒ Object
Returns the value of attribute images.
4 5 6 |
# File 'lib/readypulse/image_collection.rb', line 4 def images @images end |