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.



8
9
10
# File 'lib/simplefeed/activity/base.rb', line 8

def initialize(feed:)
  @feed = feed
end

Instance Attribute Details

#feedObject (readonly)

Returns the value of attribute feed.



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

def feed
  @feed
end