class Moip2::Resource::MultiOrder
Attributes
client[R]
external_id[R]
multi_payment_api[R]
Public Class Methods
new(client, response)
click to toggle source
Calls superclass method
# File lib/moip2/resource/multi_order.rb, line 6 def initialize(client, response) super(response) @client = client if response.respond_to?(:external_id) @multi_payment_api = MultiPaymentApi.new(client) @external_id = response.external_id end end
Public Instance Methods
create_multi_payment(_payment = nil)
click to toggle source
# File lib/moip2/resource/multi_order.rb, line 16 def create_multi_payment(_payment = nil) multi_payment_api.create end