# File lib/rbrainz/webservice/query.rb, line 170 def initialize(webservice = nil, options={ :client_id=>nil, :factory=>nil }) Utils.check_options options, :client_id, :factory @webservice = webservice.nil? ? Webservice.new : webservice @client_id = options[:client_id] ? options[:client_id] : nil @factory = options[:factory] ? options[:factory] : nil end