lib/apidiesel/request.rb in apidiesel-0.1.1 vs lib/apidiesel/request.rb in apidiesel-0.1.2
- old
+ new
@@ -29,10 +29,10 @@
def to_s
[
"Apidiesel::Request",
action.http_method.to_s.upcase,
- action.url,
+ action.url.try(:to_s),
action.endpoint,
parameters.collect { |key, value| "#{key}: #{value}"}.join(',')
].join(' ')
end
end