Sha256: 7050e99f5aa072bf69b3d475a1ec2c9aa5b3410681d2b13698152dc9e3597b22
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
require "typhoeus" require "multi_json" require "wisper" require "cobrato/version" require "cobrato/configuration" require "cobrato/client" require "cobrato/http" require "cobrato/entities/base" require "cobrato/entities/payee" require "cobrato/entities/bank_account" require "cobrato/entities/charge_account" require "cobrato/entities/charge" require "cobrato/entities/webhook" require "cobrato/entities/bank_billet" require "cobrato/entities/regress_cnab" require "cobrato/resources/base" require "cobrato/resources/payee" require "cobrato/resources/bank_account" require "cobrato/resources/charge_account" require "cobrato/resources/charge" require "cobrato/resources/webhook" require "cobrato/resources/charging_type" require "cobrato/resources/regress_cnab" module Cobrato def self.configuration @configuration ||= Configuration.new end def self.configure yield(configuration) if block_given? end def self.client(token) Client.new(token) end def self.subscribe(event, callback) Wisper.subscribe(callback, on: event, with: :call) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cobrato-client-0.2.7 | lib/cobrato.rb |
cobrato-client-0.2.6 | lib/cobrato.rb |