lib/xero_gateway/response.rb in xero_gateway-2.0.4 vs lib/xero_gateway/response.rb in xero_gateway-2.0.5
- old
+ new
@@ -5,12 +5,14 @@
def array_wrapped_response_item
Array(response_item)
end
alias_method :invoice, :response_item
+ alias_method :credit_note, :response_item
alias_method :contact, :response_item
alias_method :organisation, :response_item
alias_method :invoices, :array_wrapped_response_item
+ alias_method :credit_notes, :array_wrapped_response_item
alias_method :contacts, :array_wrapped_response_item
alias_method :accounts, :array_wrapped_response_item
alias_method :tracking_categories, :array_wrapped_response_item
alias_method :tax_rates, :array_wrapped_response_item
alias_method :currencies, :array_wrapped_response_item