Class: SimpleMobileOauth::Authenticator::EmptyUser
- Inherits:
-
Hash
- Object
- Hash
- SimpleMobileOauth::Authenticator::EmptyUser
- Defined in:
- lib/simple_mobile_oauth/authenticator.rb
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ EmptyUser
constructor
A new instance of EmptyUser.
- #valid? ⇒ Boolean
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
68 69 70 |
# File 'lib/simple_mobile_oauth/authenticator.rb', line 68 def valid? true end |