Sha256: 7defd5db94a61c159fca78e745779d3515b03aeb456b17f373d12c43ee05ad84

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

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

module Razorpay
  # Customer API allows you to create customer IDs on Razorpay
  class Customer < Entity
    def self.request
      Razorpay::Request.new('customers')
    end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
razorpay-1.2.1 lib/razorpay/customer.rb