Module: BananaBits

Defined in:
lib/banana_bits.rb,
lib/banana_bits/client.rb,
lib/banana_bits/version.rb,
lib/banana_bits/configuration.rb,
lib/banana_bits/concerns/hashable.rb

Defined Under Namespace

Modules: Concerns Classes: Client, Configuration, Error

Constant Summary collapse

VERSION =
"0.2.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



11
12
13
# File 'lib/banana_bits.rb', line 11

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

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

Yields:



15
16
17
# File 'lib/banana_bits.rb', line 15

def configure
  yield(configuration)
end

.reset!Object



19
20
21
# File 'lib/banana_bits.rb', line 19

def reset!
  @configuration = Configuration.new
end