Sha256: b476bf8063760a63d3deee0690bd5734fc8770a9e827285a3ec970a5a7bb633b
Contents?: true
Size: 308 Bytes
Versions: 2
Compression:
Stored size: 308 Bytes
Contents
module Billogram class Client include HTTParty format :json def initialize(username, password, base_uri) self.class.default_options.merge!(base_uri: base_uri, basic_auth: {username: username, password: password}) end def get(*args) self.class.get(*args) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
billogram-0.3.0 | lib/billogram/client.rb |
billogram-0.2.0 | lib/billogram/client.rb |