class Razorpay::Plan

Plan API allows you to create and manage subscription-plans with Razorpay

Public Class Methods

all(options = {}) click to toggle source
# File lib/razorpay/plan.rb, line 20
def self.all(options = {})
  request.all options
end
create(options) click to toggle source
# File lib/razorpay/plan.rb, line 12
def self.create(options)
  request.create options
end
fetch(id) click to toggle source
# File lib/razorpay/plan.rb, line 16
def self.fetch(id)
  request.fetch id
end
request() click to toggle source
# File lib/razorpay/plan.rb, line 8
def self.request
  Razorpay::Request.new('plans')
end