Class: Entry
- Inherits:
-
Object
- Object
- Entry
- Defined in:
- lib/rawapi/entry.rb
Instance Attribute Summary collapse
-
#circulation ⇒ Object
Returns the value of attribute circulation.
-
#date ⇒ Object
Returns the value of attribute date.
-
#hits ⇒ Object
Returns the value of attribute hits.
-
#items ⇒ Object
Returns the value of attribute items.
Instance Method Summary collapse
-
#initialize ⇒ Entry
constructor
A new instance of Entry.
Constructor Details
#initialize ⇒ Entry
Returns a new instance of Entry.
4 5 6 |
# File 'lib/rawapi/entry.rb', line 4 def initialize @items = [] end |
Instance Attribute Details
#circulation ⇒ Object
Returns the value of attribute circulation.
2 3 4 |
# File 'lib/rawapi/entry.rb', line 2 def circulation @circulation end |
#date ⇒ Object
Returns the value of attribute date.
2 3 4 |
# File 'lib/rawapi/entry.rb', line 2 def date @date end |
#hits ⇒ Object
Returns the value of attribute hits.
2 3 4 |
# File 'lib/rawapi/entry.rb', line 2 def hits @hits end |
#items ⇒ Object
Returns the value of attribute items.
2 3 4 |
# File 'lib/rawapi/entry.rb', line 2 def items @items end |