Class: RBVIMEO::Comment
- Inherits:
-
Object
- Object
- RBVIMEO::Comment
- Defined in:
- lib/rbvimeo/comment.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#authorname ⇒ Object
Returns the value of attribute authorname.
-
#datecreate ⇒ Object
Returns the value of attribute datecreate.
-
#id ⇒ Object
Returns the value of attribute id.
-
#permalink ⇒ Object
Returns the value of attribute permalink.
-
#portraits ⇒ Object
Returns the value of attribute portraits.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
- #date ⇒ Object
-
#initialize ⇒ Comment
constructor
A new instance of Comment.
- #url ⇒ Object
Constructor Details
#initialize ⇒ Comment
Returns a new instance of Comment.
5 6 7 |
# File 'lib/rbvimeo/comment.rb', line 5 def initialize @portraits = [] end |
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
3 4 5 |
# File 'lib/rbvimeo/comment.rb', line 3 def @author end |
#authorname ⇒ Object
Returns the value of attribute authorname.
3 4 5 |
# File 'lib/rbvimeo/comment.rb', line 3 def @authorname end |
#datecreate ⇒ Object
Returns the value of attribute datecreate.
3 4 5 |
# File 'lib/rbvimeo/comment.rb', line 3 def datecreate @datecreate end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/rbvimeo/comment.rb', line 3 def id @id end |
#permalink ⇒ Object
Returns the value of attribute permalink.
3 4 5 |
# File 'lib/rbvimeo/comment.rb', line 3 def permalink @permalink end |
#portraits ⇒ Object
Returns the value of attribute portraits.
3 4 5 |
# File 'lib/rbvimeo/comment.rb', line 3 def portraits @portraits end |
#text ⇒ Object
Returns the value of attribute text.
3 4 5 |
# File 'lib/rbvimeo/comment.rb', line 3 def text @text end |
Instance Method Details
#date ⇒ Object
9 10 11 |
# File 'lib/rbvimeo/comment.rb', line 9 def date return @datecreate end |
#url ⇒ Object
13 14 15 |
# File 'lib/rbvimeo/comment.rb', line 13 def url return @permalink end |