Sha256: 443b52eafe61806dd1b3ca6d200a111d8c6ebbc2085249520b778138196d9a99
Contents?: true
Size: 1.47 KB
Versions: 1
Compression:
Stored size: 1.47 KB
Contents
# frozen_string_literal: true require "active_support/core_ext/string/inflections" require "active_support/core_ext/module/delegation" require "active_support/core_ext/hash/reverse_merge" require "active_support/core_ext/string/conversions" require "active_support/core_ext/object/json" require "active_support/core_ext/module/attribute_accessors" module PagSeguro autoload :Client, "pagseguro/client" autoload :Restful, "pagseguro/restful" autoload :Subscriptions, "pagseguro/subscriptions" autoload :PaymentOrders, "pagseguro/payment_orders" autoload :Sessions, "pagseguro/sessions" autoload :Plans, "pagseguro/plans" autoload :Authorizations, "pagseguro/authorizations" autoload :Checkout, "pagseguro/checkout" autoload :Transactions, "pagseguro/transactions" autoload :Mash, "pagseguro/mash" FORMATS = { json: "application/vnd.pagseguro.com.br.v3+json;charset=ISO-8859-1", xml: "application/xml;charset=ISO-8859-1" } mattr_accessor :token mattr_accessor :email mattr_accessor :app_id mattr_accessor :app_key mattr_accessor :environment def self.configure(&block) instance_eval(&block) end def self.uris @uris ||= { production: { api: "https://ws.pagseguro.uol.com.br", site: "https://pagseguro.uol.com.br" }, sandbox: { api: "https://ws.sandbox.pagseguro.uol.com.br", site: "https://sandbox.pagseguro.uol.com.br" } } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pagseguro_next-1.0.1 | lib/pagseguro.rb |