lib/fanforce/base/utils.rb in fanforce-base-1.6.0 vs lib/fanforce/base/utils.rb in fanforce-base-2.0.0.rc1

- old
+ new

@@ -114,10 +114,10 @@ when :delete "curl --request DELETE \"#{url}?#{to_query_string(req_params)}\"" when :options "curl -X OPTIONS \"#{url}?#{to_query_string(req_params)}\"" else - raise 'Unknown request method' + raise "Unknown request method: #{method.to_s.downcase}" end end def to_public_version(version) version.split('.')[0...2].join('.').to_f