Class: Item

Inherits:
Object
  • Object
show all
Defined in:
lib/rawapi/item.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeItem

Returns a new instance of Item.



4
5
6
# File 'lib/rawapi/item.rb', line 4

def initialize
  @referers = []
end

Instance Attribute Details

#clickthroughsObject

Returns the value of attribute clickthroughs.



2
3
4
# File 'lib/rawapi/item.rb', line 2

def clickthroughs
  @clickthroughs
end

#itemviewsObject

Returns the value of attribute itemviews.



2
3
4
# File 'lib/rawapi/item.rb', line 2

def itemviews
  @itemviews
end

#referersObject

Returns the value of attribute referers.



2
3
4
# File 'lib/rawapi/item.rb', line 2

def referers
  @referers
end

#titleObject

Returns the value of attribute title.



2
3
4
# File 'lib/rawapi/item.rb', line 2

def title
  @title
end

#urlObject

Returns the value of attribute url.



2
3
4
# File 'lib/rawapi/item.rb', line 2

def url
  @url
end