Class: RBVIMEO::Comment

Inherits:
Object
  • Object
show all
Defined in:
lib/rbvimeo/comment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeComment

Returns a new instance of Comment.



5
6
7
# File 'lib/rbvimeo/comment.rb', line 5

def initialize
  @portraits = []
end

Instance Attribute Details

#authorObject

Returns the value of attribute author.



3
4
5
# File 'lib/rbvimeo/comment.rb', line 3

def author
  @author
end

#authornameObject

Returns the value of attribute authorname.



3
4
5
# File 'lib/rbvimeo/comment.rb', line 3

def authorname
  @authorname
end

#datecreateObject

Returns the value of attribute datecreate.



3
4
5
# File 'lib/rbvimeo/comment.rb', line 3

def datecreate
  @datecreate
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/rbvimeo/comment.rb', line 3

def id
  @id
end

Returns the value of attribute permalink.



3
4
5
# File 'lib/rbvimeo/comment.rb', line 3

def permalink
  @permalink
end

#portraitsObject

Returns the value of attribute portraits.



3
4
5
# File 'lib/rbvimeo/comment.rb', line 3

def portraits
  @portraits
end

#textObject

Returns the value of attribute text.



3
4
5
# File 'lib/rbvimeo/comment.rb', line 3

def text
  @text
end

Instance Method Details

#dateObject



9
10
11
# File 'lib/rbvimeo/comment.rb', line 9

def date
  return @datecreate
end

#urlObject



13
14
15
# File 'lib/rbvimeo/comment.rb', line 13

def url
  return @permalink
end