Class: SimpleMobileOauth::Authenticator::EmptyUser

Inherits:
Hash
  • Object
show all
Defined in:
lib/simple_mobile_oauth/authenticator.rb

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ EmptyUser

Returns a new instance of EmptyUser.



63
64
65
66
# File 'lib/simple_mobile_oauth/authenticator.rb', line 63

def initialize(params={})
  super
  self[:user] = nil
end

Instance Method Details

#valid?Boolean

Returns:

  • (Boolean)


68
69
70
# File 'lib/simple_mobile_oauth/authenticator.rb', line 68

def valid?
  true
end