Module: Crema

Defined in:
lib/crema.rb,
lib/crema/base.rb,
lib/crema/oauth.rb,
lib/crema/client.rb,
lib/crema/config.rb,
lib/crema/product.rb,
lib/crema/version.rb

Defined Under Namespace

Classes: Base, Client, Config, OAuth, Product

Constant Summary collapse

HOST =
'https://api.cre.ma'.freeze
VERSION =
'0.1.1'.freeze

Class Method Summary collapse

Class Method Details

.configObject



22
23
24
# File 'lib/crema/config.rb', line 22

def config
  @config ||= Config.new
end

.configureObject



18
19
20
# File 'lib/crema/config.rb', line 18

def configure
  block_given? ? yield(config) : config
end