Class: PicasaDownloader::Album
- Inherits:
-
Object
- Object
- PicasaDownloader::Album
- Defined in:
- lib/picasa-downloader/album.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title, id) ⇒ Album
constructor
A new instance of Album.
Constructor Details
#initialize(title, id) ⇒ Album
Returns a new instance of Album.
5 6 7 8 |
# File 'lib/picasa-downloader/album.rb', line 5 def initialize(title, id) @title = title @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/picasa-downloader/album.rb', line 3 def id @id end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
3 4 5 |
# File 'lib/picasa-downloader/album.rb', line 3 def title @title end |