Class: RazorpayIntegration::Base
- Inherits:
-
Object
- Object
- RazorpayIntegration::Base
- Defined in:
- lib/razorpay_integration/base.rb
Direct Known Subclasses
Constant Summary collapse
- BASE_URL =
'https://api.razorpay.com/v1'
Instance Method Summary collapse
-
#initialize {|@config| ... } ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize {|@config| ... } ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'lib/razorpay_integration/base.rb', line 8 def initialize @config = RazorpayIntegration.configuration yield(@config) if block_given? end |