Sha256: 567916fbc889b3da8c3f096b7bf00a661f824a83d4dc377000e6a63ec51b10e0

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

require 'razorpay/constants'
require 'razorpay/payment'
require 'razorpay/order'

# Base Razorpay module
module Razorpay
  class << self
    attr_accessor :auth
  end

  def self.setup(key_id, key_secret)
    self.auth = { username: key_id, password: key_secret }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
razorpay-1.2.1 lib/razorpay.rb