Class: Razorpay::Card
Overview
Card API allows you to fetch cards saved with Razorpay Docs: docs.razorpay.com/v1/page/cards
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
.fetch(id) ⇒ Object
13 14 15 |
# File 'lib/razorpay/card.rb', line 13 def self.fetch(id) request.fetch id end |
.request ⇒ Object
9 10 11 |
# File 'lib/razorpay/card.rb', line 9 def self.request Razorpay::Request.new('cards') end |