Class: SimpleFeed::Activity::Base
- Inherits:
-
Object
- Object
- SimpleFeed::Activity::Base
- Defined in:
- lib/simplefeed/activity/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#feed ⇒ Object
readonly
Returns the value of attribute feed.
Instance Method Summary collapse
-
#initialize(feed:) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(feed:) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/simplefeed/activity/base.rb', line 8 def initialize(feed:) @feed = feed end |
Instance Attribute Details
#feed ⇒ Object (readonly)
Returns the value of attribute feed.
6 7 8 |
# File 'lib/simplefeed/activity/base.rb', line 6 def feed @feed end |