Class: Imgur::Client::Album

Inherits:
Model
  • Object
show all
Defined in:
lib/imgur/models/album.rb

Instance Method Summary collapse

Methods inherited from Model

assoc_accessor, assoc_reader, assoc_writer

Instance Method Details

#imagesObject



13
14
15
16
17
# File 'lib/imgur/models/album.rb', line 13

def images
  url  = "/album/#{id}/images"
  data = connection.get_images(path: url).body["data"]
  connection.images.load(data)
end