lib/moneta/api/service_methods.rb in moneta-api-1.12.0 vs lib/moneta/api/service_methods.rb in moneta-api-1.12.1
- old
+ new
@@ -233,10 +233,10 @@
def get_expected_request_class(method)
{
'find_account_by_alias' => String,
'find_account_by_id' => Integer,
'get_operation_details_by_id' => Integer
- }[ method.to_s ] || Object.const_get("Moneta::Api::Requests::#{ method.to_s.classify }Request")
+ }[ method.to_s ] || Object.const_get("Moneta::Api::Requests::#{ method.to_s.camelize }Request")
end
end
end
end