Sha256: 084d8825059506b4eadf48dc9b209bed4a5c3545298406e0e1aa00ab3ae885fb

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

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'
require 'razorpay/transfer'
require 'razorpay/subscription_registration'
require 'razorpay/settlement'
require 'razorpay/payment_link'
require 'razorpay/fund_account'
require 'razorpay/item'
require 'razorpay/qr_code'
require 'razorpay/payment_method'
require 'razorpay/webhook'
require 'razorpay/iin'
require 'razorpay/token'
require 'razorpay/product'
require 'razorpay/stakeholder'
require 'razorpay/account'
require 'razorpay/generic'

# 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

1 entries across 1 versions & 1 rubygems

Version Path
razorpay-3.2.0 lib/razorpay.rb