Class: SocialConnections::AggregatedActivities
- Inherits:
-
Object
- Object
- SocialConnections::AggregatedActivities
- Defined in:
- lib/social_connections/social_aggregator.rb
Instance Attribute Summary collapse
-
#activities ⇒ Object
Returns the value of attribute activities.
-
#by_verb ⇒ Object
Returns the value of attribute by_verb.
Instance Method Summary collapse
-
#initialize(activities) ⇒ AggregatedActivities
constructor
A new instance of AggregatedActivities.
Constructor Details
#initialize(activities) ⇒ AggregatedActivities
Returns a new instance of AggregatedActivities.
5 6 7 8 |
# File 'lib/social_connections/social_aggregator.rb', line 5 def initialize(activities) self.activities = activities self.by_verb = activities_by_verb(activities) end |
Instance Attribute Details
#activities ⇒ Object
Returns the value of attribute activities.
4 5 6 |
# File 'lib/social_connections/social_aggregator.rb', line 4 def activities @activities end |
#by_verb ⇒ Object
Returns the value of attribute by_verb.
4 5 6 |
# File 'lib/social_connections/social_aggregator.rb', line 4 def by_verb @by_verb end |