Class: Flickrie::Media::Note
- Inherits:
-
Object
- Object
- Flickrie::Media::Note
- Defined in:
- lib/flickrie/objects/media/note.rb
Instance Attribute Summary collapse
- #author ⇒ Flickrie::User readonly
- #content ⇒ String readonly
-
#coordinates ⇒ Array<Fixnum>
readonly
Returns a 2-element array, representing a point.
- #hash ⇒ Fixnum readonly
- #height ⇒ Fixnum readonly
- #id ⇒ String readonly
- #width ⇒ Fixnum readonly
Instance Method Summary collapse
Instance Attribute Details
#author ⇒ Flickrie::User (readonly)
11 12 13 |
# File 'lib/flickrie/objects/media/note.rb', line 11 def @author end |
#content ⇒ String (readonly)
13 14 15 |
# File 'lib/flickrie/objects/media/note.rb', line 13 def content @content end |
#coordinates ⇒ Array<Fixnum> (readonly)
Returns a 2-element array, representing a point.
17 18 19 |
# File 'lib/flickrie/objects/media/note.rb', line 17 def coordinates @coordinates end |
#hash ⇒ Fixnum (readonly)
29 30 31 |
# File 'lib/flickrie/objects/media/note.rb', line 29 def hash @hash end |
#height ⇒ Fixnum (readonly)
21 22 23 |
# File 'lib/flickrie/objects/media/note.rb', line 21 def height @height end |
#id ⇒ String (readonly)
9 10 11 |
# File 'lib/flickrie/objects/media/note.rb', line 9 def id @id end |
#width ⇒ Fixnum (readonly)
19 20 21 |
# File 'lib/flickrie/objects/media/note.rb', line 19 def width @width end |
Instance Method Details
#[](key) ⇒ Object
27 |
# File 'lib/flickrie/objects/media/note.rb', line 27 def [](key) @hash[key] end |
#to_s ⇒ Object
23 24 25 |
# File 'lib/flickrie/objects/media/note.rb', line 23 def to_s content end |