Class: Item
- Inherits:
-
Object
- Object
- Item
- Defined in:
- lib/rawapi/item.rb
Instance Attribute Summary collapse
-
#clickthroughs ⇒ Object
Returns the value of attribute clickthroughs.
-
#itemviews ⇒ Object
Returns the value of attribute itemviews.
-
#referers ⇒ Object
Returns the value of attribute referers.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize ⇒ Item
Returns a new instance of Item.
4 5 6 |
# File 'lib/rawapi/item.rb', line 4 def initialize @referers = [] end |
Instance Attribute Details
#clickthroughs ⇒ Object
Returns the value of attribute clickthroughs.
2 3 4 |
# File 'lib/rawapi/item.rb', line 2 def clickthroughs @clickthroughs end |
#itemviews ⇒ Object
Returns the value of attribute itemviews.
2 3 4 |
# File 'lib/rawapi/item.rb', line 2 def itemviews @itemviews end |
#referers ⇒ Object
Returns the value of attribute referers.
2 3 4 |
# File 'lib/rawapi/item.rb', line 2 def referers @referers end |
#title ⇒ Object
Returns the value of attribute title.
2 3 4 |
# File 'lib/rawapi/item.rb', line 2 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
2 3 4 |
# File 'lib/rawapi/item.rb', line 2 def url @url end |