Module: MagayaAPI

Defined in:
lib/magaya_api.rb,
lib/magaya_api/version.rb

Defined Under Namespace

Classes: Config

Constant Summary collapse

VERSION =
'0.0.0'
API_VERSION =
'unknown'

Class Method Summary collapse

Class Method Details

.configurationObject



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

def configuration
  @configuration ||= Config.new
end

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

Yields:



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

def configure
  yield(configuration) if block_given?
end