lib/genderize/io/batch/lookup.rb in genderize-io-1.1.0 vs lib/genderize/io/batch/lookup.rb in genderize-io-1.2.0
- old
+ new
@@ -4,14 +4,12 @@
module Io
module Batch
class Lookup < Genderize::Io::Base
def initialize(name, host: DEFAULT_HOST, country_id: nil, language_id: nil)
- super(name, host: host, country_id: country_id, language_id: language_id)
- @data = {
- 'rate_limits' => {},
- 'responses' => []
- }
+ super
+
+ @data = { 'rate_limits' => {}, 'responses' => [] }
end
def determine
return @data unless @request.nil?