module LemonWay

Constants

VERSION

Public Class Methods

client() click to toggle source
# File lib/lemonway_ruby.rb, line 34
def self.client
  @@client || LemonWay.init
end
configuration=(configuration) click to toggle source
# File lib/lemonway_ruby.rb, line 28
def self.configuration=(configuration)
  @@configuration = configuration

  LemonWay.init
end
init() click to toggle source
# File lib/lemonway_ruby.rb, line 19
def self.init
  @@client = Client.new(@@configuration)
end
reset() click to toggle source
# File lib/lemonway_ruby.rb, line 23
def self.reset
  @@client = nil
  @@configuration = {}
end