Sha256: 40a64c7b7edcb91675d8a5cd6ba933fde559e7a5aa1051edc56e91b7ef677ee4

Contents?: true

Size: 384 Bytes

Versions: 8

Compression:

Stored size: 384 Bytes

Contents

require 'razorpay/request'
require 'razorpay/entity'

module Razorpay
  # SubscriptionRegistration are an alternate way of 
  # creating an authorization transaction
  class SubscriptionRegistration < Entity
    def self.request
      Razorpay::Request.new('subscription_registration/auth_links')
    end

    def self.create(options)
        request.create options
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
razorpay-3.2.2 lib/razorpay/subscription_registration.rb
razorpay-3.2.1 lib/razorpay/subscription_registration.rb
razorpay-3.2.0 lib/razorpay/subscription_registration.rb
razorpay-3.1.0 lib/razorpay/subscription_registration.rb
razorpay-3.0.1 lib/razorpay/subscription_registration.rb
razorruby-3.0.4 lib/razorpay/subscription_registration.rb
razorruby-3.0.1 lib/razorpay/subscription_registration.rb
razorpay-3.0.0 lib/razorpay/subscription_registration.rb