Class: Vk::Album

Inherits:
Base
  • Object
show all
Defined in:
lib/vk/album.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes

Instance Method Summary collapse

Methods inherited from Base

#fields, find, #id, #id=, #identity_map, inherited, #initialize, #inspect, #key_field, #loader, #logger, method_missing, #method_missing, #read_attribute, #respond_to_missing?, #to_hash

Constructor Details

This class inherits a constructor from Vk::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Vk::Base

Instance Method Details

#photos(options = {}) ⇒ Object



20
21
22
# File 'lib/vk/album.rb', line 20

def photos(options = {})
  loader.get_photos(owner_id, id, options)
end

#to_sObject



16
17
18
# File 'lib/vk/album.rb', line 16

def to_s
  title.to_s
end