Module: MuckActivities
- Defined in:
- lib/muck-activities/models/activity_item.rb,
lib/muck-activities/config.rb,
lib/muck-activities/engine.rb,
lib/muck-activities/models/activity.rb,
lib/muck-activities/models/activity_source.rb,
lib/muck-activities/models/activity_consumer.rb
Overview
include MuckActivities::Models::MuckActivityConsumer
Defined Under Namespace
Modules: Models Classes: Configuration, Engine
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
3 4 5 6 |
# File 'lib/muck-activities/config.rb', line 3 def self.configuration # In case the user doesn't setup a configure block we can always return default settings: @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
8 9 10 11 |
# File 'lib/muck-activities/config.rb', line 8 def self.configure self.configuration ||= Configuration.new yield(configuration) end |