lib/soapy_cake/request.rb in soapy_cake-1.18.1 vs lib/soapy_cake/request.rb in soapy_cake-1.19.0
- old
+ new
@@ -31,9 +31,13 @@
def short_response?
%w(addedit track signup).include?(service)
end
+ def to_s
+ "#{role}:#{service}:#{method}:#{version} #{opts.to_json}"
+ end
+
private
def api_path
"#{(role == 'admin') ? '' : "/#{role.pluralize}"}/api/#{version}"
end