Module: ShopSensor

Defined in:
lib/shop_sensor.rb,
lib/shop_sensor/client.rb,
lib/shop_sensor/version.rb,
lib/shop_sensor/configuration.rb,
lib/shop_sensor/missing_configuration.rb

Defined Under Namespace

Classes: Client, Configuration, MissingConfiguration

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.configurationObject



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

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

.configure(&block) ⇒ Object



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

def configure &block
  configuration.configure &block
end