Class: Razorpay::PaymentMethods
- Defined in:
- lib/razorpay/payment_method.rb
Overview
Payment Methods class is allows you to create to fetch all payment methods
Instance Attribute Summary
Attributes inherited from Entity
Class Method Summary collapse
Methods inherited from Entity
#initialize, #method_missing, #respond_to_missing?, #to_json, #with_a_bang
Constructor Details
This class inherits a constructor from Razorpay::Entity
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Razorpay::Entity
Class Method Details
.all(options = {}) ⇒ Object
13 14 15 |
# File 'lib/razorpay/payment_method.rb', line 13 def self.all( = {}) request.all end |
.request ⇒ Object
9 10 11 |
# File 'lib/razorpay/payment_method.rb', line 9 def self.request Razorpay::Request.new('methods') end |