Module: MeaningCloud

Defined in:
lib/meaning_cloud.rb,
lib/meaning_cloud/topics.rb,
lib/meaning_cloud/version.rb

Defined Under Namespace

Classes: Configuration, MissingKeyError, Topics

Constant Summary collapse

API_BASE =
""
VERSION =
'1.0.1'

Class Method Summary collapse

Class Method Details

.configurationObject



9
10
11
# File 'lib/meaning_cloud.rb', line 9

def self.configuration
  @configuration ||=  Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



13
14
15
16
# File 'lib/meaning_cloud.rb', line 13

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