Class: Billogram::Client
- Inherits:
-
Object
- Object
- Billogram::Client
- Extended by:
- Forwardable
- Includes:
- HTTParty
- Defined in:
- lib/billogram/client.rb
Instance Method Summary collapse
-
#initialize(username, password, base_uri) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(username, password, base_uri) ⇒ Client
Returns a new instance of Client.
13 14 15 |
# File 'lib/billogram/client.rb', line 13 def initialize(username, password, base_uri) self.class..merge!(base_uri: base_uri, basic_auth: { username: username, password: password }) end |