lib/moip2/resource/order.rb in moip2-0.1.4 vs lib/moip2/resource/order.rb in moip2-1.0.0
- old
+ new
@@ -1,10 +1,8 @@
module Moip2
module Resource
-
class Order < SimpleDelegator
-
attr_reader :client, :payment_api, :external_id
def initialize(client, response)
super(response)
@client = client
@@ -16,10 +14,8 @@
end
def create_payment(payment)
payment_api.create(external_id, payment)
end
-
end
-
end
end