Sha256: c4fd70594776c3ac1e2dddff783665f2afae3798925557ca731c416cb0ee3f04
Contents?: true
Size: 554 Bytes
Versions: 2
Compression:
Stored size: 554 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' # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
razorpay-2.0.1 | lib/razorpay.rb |
razorpay-2.0.0 | lib/razorpay.rb |