Sha256: 72a7236de06009e4b9a39d032658a660ed1aea1923b7d879729d4531751ba624
Contents?: true
Size: 848 Bytes
Versions: 2
Compression:
Stored size: 848 Bytes
Contents
require 'hashie' require 'faraday' require 'gmxcheckout/version' module GmxCheckout autoload :API, 'gmxcheckout/api' autoload :Base, 'gmxcheckout/base' autoload :JsonMiddleware, 'gmxcheckout/json_middleware' autoload :Model, 'gmxcheckout/model' autoload :Response, 'gmxcheckout/response' autoload :Subscriptions, 'gmxcheckout/subscriptions' module Models autoload :Transaction, 'gmxcheckout/models/transaction' autoload :Notification, 'gmxcheckout/models/notification' end class << self attr_accessor :api_key end def self.configure(&block) instance_eval(&block) end def self.statuses @statuses ||= { initiated: 0, captured: 1, cancelled: 3, suspended: 4, approved: 5, rejected: 6, incommunicable: 7 } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gmxcheckout-0.2.0 | lib/gmxcheckout.rb |
gmxcheckout-0.1.0 | lib/gmxcheckout.rb |