Class: SimpleFeed::Activity::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/simplefeed/activity/base.rb

Direct Known Subclasses

MultiUser, SingleUser

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(feed:) ⇒ Base

Returns a new instance of Base.


6
7
8
# File 'lib/simplefeed/activity/base.rb', line 6

def initialize(feed:)
  @feed = feed
end

Instance Attribute Details

#feedObject (readonly)

Returns the value of attribute feed


4
5
6
# File 'lib/simplefeed/activity/base.rb', line 4

def feed
  @feed
end