Module: Billogram
- Defined in:
- lib/billogram.rb,
lib/billogram/client.rb,
lib/billogram/version.rb,
lib/billogram/resource.rb,
lib/billogram/resources/invoice.rb
Defined Under Namespace
Classes: Client, Invoice, Resource
Constant Summary
collapse
- CONFIG_KEYS =
[:api_key, :api_user, :base_url].freeze
- VERSION =
"0.0.1"
Class Method Summary
collapse
Class Method Details
.client ⇒ Object
20
21
22
|
# File 'lib/billogram.rb', line 20
def client
@client ||= Client.new(api_user, api_key, base_url)
end
|
15
16
17
18
|
# File 'lib/billogram.rb', line 15
def configure
yield self
self
end
|