Sha256: 247bdca982c8f2500723689700f73cecc3e1e4143a891bbc18c77e1c5779e6ca
Contents?: true
Size: 874 Bytes
Versions: 4
Compression:
Stored size: 874 Bytes
Contents
module EasyPayULatam module RApi class AdditionalCharge < Request attr_reader :url, :plan, :customer, :card, :sub_id attr_accessor :resource, :params def initialize(customer, sub_id) @customer = customer @sub_id = sub_id @customer = customer.response if !customer.nil? # @callback_url = callback_url @params = {} return if @customer.nil? # load("") end def create_url @url = RApi.base_url + "/rest/#{RApi.api_version}/subscriptions/#{@sub_id}/recurringBillItems" end def url @url = RApi.base_url + "/rest/#{RApi.api_version}/recurringBillItems/" end def create! create_url super end def load(id) url super end def delete(id) url super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems