Module: Applied

Defined in:
lib/applied.rb,
lib/applied/version.rb,
lib/applied/sentiment.rb

Defined Under Namespace

Classes: BadData, BadOptions, BadResponse, Configuration, Sentiment

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configObject



10
11
12
# File 'lib/applied.rb', line 10

def self.config
  @config
end

.configure {|@config ||= Configuration.new| ... } ⇒ Object

Yields:



6
7
8
# File 'lib/applied.rb', line 6

def self.configure(&block)
  yield @config ||= Configuration.new
end