lib/moneta/api.rb in moneta-api-1.0.2 vs lib/moneta/api.rb in moneta-api-1.0.3

- old
+ new

@@ -4,13 +4,79 @@ require 'moneta/core_ext/string' require 'moneta/api/service_methods' require 'moneta/api/service' require 'moneta/api/data_mapper' -%w(types responses requests).each do |folder| - Dir["lib/moneta/api/#{ folder }/*.rb"].each do |file| - require File.join(File.dirname(__FILE__), '../../', file) - end -end +require 'moneta/api/types/account_access_info.rb' +require 'moneta/api/types/account_info.rb' +require 'moneta/api/types/authorise_transaction_batch_request_type.rb' +require 'moneta/api/types/authorise_transaction_request_type.rb' +require 'moneta/api/types/cancel_transaction_batch_request_type.rb' +require 'moneta/api/types/cancel_transaction_batch_response_type.rb' +require 'moneta/api/types/cancel_transaction_request_type.rb' +require 'moneta/api/types/cancel_transaction_response_type.rb' +require 'moneta/api/types/confirm_transaction_batch_request_type.rb' +require 'moneta/api/types/confirm_transaction_request_type.rb' +require 'moneta/api/types/entity.rb' +require 'moneta/api/types/find_operations_list_request_filter.rb' +require 'moneta/api/types/forecast_transaction_response_type.rb' +require 'moneta/api/types/invoice_batch_request_type.rb' +require 'moneta/api/types/invoice_request_type.rb' +require 'moneta/api/types/key_value_attribute.rb' +require 'moneta/api/types/operation_info.rb' +require 'moneta/api/types/operation_info_batch_response_type.rb' +require 'moneta/api/types/operation_info_list.rb' +require 'moneta/api/types/pager.rb' +require 'moneta/api/types/payment_request_type.rb' +require 'moneta/api/types/transaction_batch_response_type.rb' +require 'moneta/api/types/transaction_request_type.rb' +require 'moneta/api/types/transaction_response_type.rb' +require 'moneta/api/types/verify_transaction_response_type.rb' +require 'moneta/api/types/verify_transfer_response_type.rb' -require 'moneta/api/response_factory' +require 'moneta/api/requests/authorise_transaction_batch_request.rb' +require 'moneta/api/requests/authorise_transaction_request.rb' +require 'moneta/api/requests/cancel_transaction_batch_request.rb' +require 'moneta/api/requests/cancel_transaction_request.rb' +require 'moneta/api/requests/confirm_transaction_batch_request.rb' +require 'moneta/api/requests/confirm_transaction_request.rb' +require 'moneta/api/requests/create_account_request.rb' +require 'moneta/api/requests/find_accounts_list_request.rb' +require 'moneta/api/requests/find_last_operations_list_request.rb' +require 'moneta/api/requests/find_operations_list_request.rb' +require 'moneta/api/requests/forecast_transaction_request.rb' +require 'moneta/api/requests/get_account_payment_password_challenge_request.rb' +require 'moneta/api/requests/invoice_batch_request.rb' +require 'moneta/api/requests/invoice_request.rb' +require 'moneta/api/requests/payment_request.rb' +require 'moneta/api/requests/refund_request.rb' +require 'moneta/api/requests/transfer_request.rb' +require 'moneta/api/requests/verify_payment_request.rb' +require 'moneta/api/requests/verify_transaction_request.rb' +require 'moneta/api/requests/verify_transfer_request.rb' + +require 'moneta/api/responses/authorise_transaction_batch_response.rb' +require 'moneta/api/responses/authorise_transaction_response.rb' +require 'moneta/api/responses/cancel_transaction_batch_response.rb' +require 'moneta/api/responses/cancel_transaction_response.rb' +require 'moneta/api/responses/confirm_transaction_batch_response.rb' +require 'moneta/api/responses/confirm_transaction_response.rb' +require 'moneta/api/responses/create_account_response.rb' +require 'moneta/api/responses/find_account_by_alias_response.rb' +require 'moneta/api/responses/find_account_by_id_response.rb' +require 'moneta/api/responses/find_accounts_list_response.rb' +require 'moneta/api/responses/find_last_operations_list_response.rb' +require 'moneta/api/responses/find_operations_list_response.rb' +require 'moneta/api/responses/forecast_transaction_response.rb' +require 'moneta/api/responses/get_account_payment_password_challenge_response.rb' +require 'moneta/api/responses/get_operation_details_by_id_response.rb' +require 'moneta/api/responses/invoice_batch_response.rb' +require 'moneta/api/responses/invoice_response.rb' +require 'moneta/api/responses/payment_response.rb' +require 'moneta/api/responses/refund_response.rb' +require 'moneta/api/responses/transfer_response.rb' +require 'moneta/api/responses/verify_payment_response.rb' +require 'moneta/api/responses/verify_transaction_response.rb' +require 'moneta/api/responses/verify_transfer_response.rb' + +require 'moneta/api/response_factory'