Sha256: 23d2b363389031006208b23388f44974314d85b29b73ab5e197ffdc623888c1a
Contents?: true
Size: 452 Bytes
Versions: 4
Compression:
Stored size: 452 Bytes
Contents
require 'payg/request' require 'payg/entity' module Payg # Order API allows you to associate # Payments with an order entity class Order < Entity def self.request Payg::Request.new('order') end def self.create(options) request.post "/create", options end def self.detail(options) request.post "/detail", options end def self.refund(options) request.post "/detail", options end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
payg-0.1.2 | lib/payg/order.rb |
payg-0.1.1 | lib/payg/order.rb |
payg-0.1 | lib/payg/order.rb |
payg-0.0.1 | lib/payg/order.rb |