Class: Bustle::Publisher
- Inherits:
-
Object
- Object
- Bustle::Publisher
- Includes:
- Concern::TargetResource
- Defined in:
- lib/bustle/models/publisher.rb
Instance Method Summary collapse
Methods included from Concern::TargetResource
Instance Method Details
#activities(conditions = {}) ⇒ Object
9 10 11 |
# File 'lib/bustle/models/publisher.rb', line 9 def activities(conditions = {}) Activities.by(self, conditions) end |
#publish(data = {}) ⇒ Object
5 6 7 |
# File 'lib/bustle/models/publisher.rb', line 5 def publish(data = {}) Activities.add(self, data) end |