lib/processout/invoice.rb in processout-0.3.0 vs lib/processout/invoice.rb in processout-1.0.0
- old
+ new
@@ -252,11 +252,11 @@
end
# Get the customer linked to the invoice.
# Params:
# +options+:: +Hash+ of options
- def customer(options = {})
+ def get_customer(options = {})
request = Request.new(@client)
path = "/invoices/" + CGI.escape(@id) + "/customers"
data = {
}
@@ -297,10 +297,10 @@
end
# Get the transaction of the invoice.
# Params:
# +options+:: +Hash+ of options
- def transaction(options = {})
+ def get_transaction(options = {})
request = Request.new(@client)
path = "/invoices/" + CGI.escape(@id) + "/transactions"
data = {
}