Module: BillyApi

Defined in:
lib/billy_api.rb,
lib/billy_api/client.rb,
lib/billy_api/version.rb

Defined Under Namespace

Classes: Client, Configuration

Constant Summary collapse

VERSION =
"0.1.1".freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

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

Yields:



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

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end