lib/ellen/google_image/client.rb in ellen-google_image-0.0.4 vs lib/ellen/google_image/client.rb in ellen-google_image-0.0.5
- old
+ new
@@ -44,23 +44,18 @@
end
def given_params
{
q: options[:query],
- imgType: image_type,
}
end
def default_params
{
rsz: 8,
safe: "active",
v: "1.0",
}
- end
-
- def image_type
- "animated" if options[:animated]
end
def connection
Faraday.new do |connection|
connection.adapter :net_http