Sha256: b3850257ed69b01f51138cf7747151aa5233be21f999924e44f19c4c7174467d
Contents?: true
Size: 795 Bytes
Versions: 1
Compression:
Stored size: 795 Bytes
Contents
require 'set' require 'time' require 'digest/sha1' require_relative 'pagarme/version' require_relative 'pagarme/core_ext' require_relative 'pagarme/object' require_relative 'pagarme/model' require_relative 'pagarme/nested_model' require_relative 'pagarme/transaction_common' require_relative 'pagarme/request' require_relative 'pagarme/errors' Dir[File.expand_path('../pagarme/resources/*.rb', __FILE__)].map do |path| require path end module PagarMe class << self attr_accessor :api_endpoint, :open_timeout, :timeout, :api_key end self.api_endpoint = 'https://api.pagar.me/1' self.open_timeout = 30 self.timeout = 90 self.api_key = ENV['PAGARME_API_KEY'] def self.validate_fingerprint(id, fingerprint) PagarMe::Postback.validate id, fingerprint end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pagarme-2.1.0 | lib/pagarme.rb |