Class: Billogram::Client

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
HTTParty
Defined in:
lib/billogram/client.rb

Instance Method Summary collapse

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.default_options.merge!(base_uri: base_uri, basic_auth: { username: username, password: password })
end