# File lib/gdata/auth/clientlogin.rb, line 37 def initialize(service, options = {}) if service.nil? raise ArgumentError, "Service name cannot be nil" end @service = service options.each do |key, value| self.send("#{key}=", value) end @auth_url ||= 'https://www.google.com/accounts/ClientLogin' @account_type ||= 'HOSTED_OR_GOOGLE' end