Class: Razorpay::Iin

Inherits:
Entity show all
Defined in:
lib/razorpay/iin.rb

Overview

IIN API allows you to fetch card properties using token IIN.

Instance Attribute Summary

Attributes inherited from Entity

#attributes

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



11
12
13
# File 'lib/razorpay/iin.rb', line 11

def self.fetch(id)
  request.fetch id
end

.requestObject



7
8
9
# File 'lib/razorpay/iin.rb', line 7

def self.request
  Razorpay::Request.new('iins')
end