Sha256: ea01173d7a19e55f3b7e159496d66c64b4f148796d65c9c0c93a6cb480d6755a
Contents?: true
Size: 1.45 KB
Versions: 4
Compression:
Stored size: 1.45 KB
Contents
require "hashie" 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 :API, "pagseguro/api" autoload :Base, "pagseguro/base" 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 :Response, "pagseguro/response" 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: { site: "https://sandbox.pagseguro.uol.com.br", api: "https://ws.sandbox.pagseguro.uol.com.br" } } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pagseguro_next-0.4.0 | lib/pagseguro.rb |
pagseguro_next-0.3.0 | lib/pagseguro.rb |
pagseguro_next-0.2.0 | lib/pagseguro.rb |
pagseguro_next-0.1.1 | lib/pagseguro.rb |