Class: Redtube::Tag
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name) ⇒ Tag
constructor
A new instance of Tag.
Methods inherited from Base
elements_by_query, find_by_query, get, name
Constructor Details
#initialize(name) ⇒ Tag
Returns a new instance of Tag.
9 10 11 |
# File 'lib/redtube/tag.rb', line 9 def initialize(name) @name = name.content end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/redtube/tag.rb', line 3 def name @name end |
Class Method Details
.all ⇒ Object
5 6 7 |
# File 'lib/redtube/tag.rb', line 5 def self.all find_by_query "getTagList" end |