Method: Billogram::Client#initialize

Defined in:
lib/billogram/client.rb

#initialize(username, password, base_uri) ⇒ Client

Returns a new instance of Client.



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

def initialize(username, password, base_uri)
  self.class.default_options.merge!(base_uri: base_uri, basic_auth: {username: username, password: password})
end