Sha256: bd541c03af310ad7904a937045e4e6de1d3fbf947857f7069d48b6ed52daae3d
Contents?: true
Size: 670 Bytes
Versions: 4
Compression:
Stored size: 670 Bytes
Contents
require 'razorpay/card' require 'razorpay/order' require 'razorpay/errors' require 'razorpay/refund' require 'razorpay/invoice' require 'razorpay/payment' require 'razorpay/utility' require 'razorpay/customer' require 'razorpay/constants' require 'razorpay/collection' require 'razorpay/virtual_account' require 'razorpay/plan' require 'razorpay/subscription' require 'razorpay/addon' # Base Razorpay module module Razorpay class << self attr_accessor :auth, :custom_headers end def self.setup(key_id, key_secret) self.auth = { username: key_id, password: key_secret } end def self.headers=(headers = {}) self.custom_headers = headers end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
razorpay-2.4.1 | lib/razorpay.rb |
razorpay-2.4.0 | lib/razorpay.rb |
razorpay-2.3.0 | lib/razorpay.rb |
razorpay-2.2.0 | lib/razorpay.rb |