Sha256: b102a571b37e63c95432af868335ea0f13e820d99c71908773f0091ccfafcda8

Contents?: true

Size: 249 Bytes

Versions: 6

Compression:

Stored size: 249 Bytes

Contents

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

# 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

6 entries across 6 versions & 1 rubygems

Version Path
razorpay-1.2.0 lib/razorpay.rb
razorpay-1.1.0 lib/razorpay.rb
razorpay-1.0.3 lib/razorpay.rb
razorpay-1.0.2 lib/razorpay.rb
razorpay-1.0.1 lib/razorpay.rb
razorpay-1.0.0 lib/razorpay.rb