Sha256: 77f1a0fa8928d020e211666c17aa845ea62924db45b6b0b4a728ae9bf58164f9
Contents?: true
Size: 362 Bytes
Versions: 9
Compression:
Stored size: 362 Bytes
Contents
module PagSeguro class Notification < Request attr_accessor :code, :type, :email, :token def initialize(code, type = nil, email = nil, token = nil) @code = code @type = type @email = email @token = token end def transaction PagSeguro::Transaction.new get("/transactions/notifications/#{code}") end end end
Version data entries
9 entries across 9 versions & 1 rubygems