Module: MuckServices

Defined in:
lib/muck-services/models/tag_cloud.rb,
lib/muck-services/config.rb,
lib/muck-services/engine.rb,
lib/muck-services/services.rb,
lib/muck-services/exceptions.rb,
lib/muck-services/models/feed_owner.rb,
lib/muck-services/models/feed_parent.rb,
lib/muck-services/models/recommendation.rb,
lib/muck-services/models/services_share.rb,
lib/muck-services/models/services_comment.rb,
lib/muck-services/models/aggregation_owner.rb,
lib/muck-services/models/recommendation_owner.rb

Overview

include MuckServices::Models::MuckRecommendationOwner

Defined Under Namespace

Modules: Exceptions, Models, Services, Status Classes: Configuration, Engine

Class Method Summary collapse

Class Method Details

.configurationObject


5
6
7
8
# File 'lib/muck-services/config.rb', line 5

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

Yields:


10
11
12
13
# File 'lib/muck-services/config.rb', line 10

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end