lib/moip2/resource/multi_order.rb in moip2-0.1.4 vs lib/moip2/resource/multi_order.rb in moip2-1.0.0

- old
+ new

@@ -1,10 +1,8 @@ module Moip2 - module Resource class MultiOrder < SimpleDelegator - attr_reader :client, :multi_payment_api, :external_id def initialize(client, response) super(response) @client = client @@ -13,13 +11,11 @@ @multi_payment_api = MultiPaymentApi.new(client) @external_id = response.external_id end end - def create_multi_payment(payment) + def create_multi_payment(_payment = nil) multi_payment_api.create end - end end - -end \ No newline at end of file +end