Class: AlleJest::Item
Instance Attribute Summary collapse
-
#feed_entry ⇒ Object
Returns the value of attribute feed_entry.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Item
constructor
A new instance of Item.
- #old_initialize ⇒ Object
Constructor Details
#initialize(args = {}) ⇒ Item
Returns a new instance of Item.
39 40 41 42 43 |
# File 'lib/allejest.rb', line 39 def initialize(args = {}) old_initialize(args) self.id = feed_entry.item_id end |
Instance Attribute Details
#feed_entry ⇒ Object
Returns the value of attribute feed_entry.
35 36 37 |
# File 'lib/allejest.rb', line 35 def feed_entry @feed_entry end |
#id ⇒ Object
Returns the value of attribute id.
35 36 37 |
# File 'lib/allejest.rb', line 35 def id @id end |
Instance Method Details
#old_initialize ⇒ Object
37 |
# File 'lib/allejest.rb', line 37 alias_method :old_initialize, :initialize |