lib/link_shrink/shrinkers/owly.rb in link_shrink-0.0.6 vs lib/link_shrink/shrinkers/owly.rb in link_shrink-0.0.7
- old
+ new
@@ -7,9 +7,10 @@
class Owly < Base
# Defines response structure to be parsed
response_options do
collection 'results'
short_url 'shortUrl'
+ error
end
# Returns URL base for API
# @return [String] api base url
def base_url