Class: Flickr::Tag
- Inherits:
-
Object
- Object
- Flickr::Tag
- Defined in:
- lib/flickr/base.rb
Instance Attribute Summary collapse
-
#author_id ⇒ Object
readonly
Returns the value of attribute author_id.
-
#clean ⇒ Object
readonly
Returns the value of attribute clean.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Class Method Summary collapse
Instance Method Summary collapse
- #author ⇒ Object
-
#initialize(flickr, id, author_id, raw, clean) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(flickr, id, author_id, raw, clean) ⇒ Tag
Returns a new instance of Tag.
674 675 676 677 678 679 680 |
# File 'lib/flickr/base.rb', line 674 def initialize(flickr, id,,raw,clean) @flickr = flickr @id = id @author_id = @raw = raw @clean = clean end |
Instance Attribute Details
#author_id ⇒ Object (readonly)
Returns the value of attribute author_id.
672 673 674 |
# File 'lib/flickr/base.rb', line 672 def @author_id end |
#clean ⇒ Object (readonly)
Returns the value of attribute clean.
672 673 674 |
# File 'lib/flickr/base.rb', line 672 def clean @clean end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
672 673 674 |
# File 'lib/flickr/base.rb', line 672 def id @id end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
672 673 674 |
# File 'lib/flickr/base.rb', line 672 def raw @raw end |
Class Method Details
Instance Method Details
#author ⇒ Object
682 |
# File 'lib/flickr/base.rb', line 682 def () @flickr.people.getInfo(@author_id) end |