Class: GoogleOauthValidator::Result
- Inherits:
-
Struct
- Object
- Struct
- GoogleOauthValidator::Result
- Defined in:
- app/services/google_oauth_validator.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#email_verified ⇒ Object
Returns the value of attribute email_verified.
-
#ok ⇒ Object
Returns the value of attribute ok.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email
29 30 31 |
# File 'app/services/google_oauth_validator.rb', line 29 def email @email end |
#email_verified ⇒ Object
Returns the value of attribute email_verified
29 30 31 |
# File 'app/services/google_oauth_validator.rb', line 29 def email_verified @email_verified end |
#ok ⇒ Object
Returns the value of attribute ok
29 30 31 |
# File 'app/services/google_oauth_validator.rb', line 29 def ok @ok end |
#reason ⇒ Object
Returns the value of attribute reason
29 30 31 |
# File 'app/services/google_oauth_validator.rb', line 29 def reason @reason end |
Instance Method Details
#ok? ⇒ Boolean
30 31 32 |
# File 'app/services/google_oauth_validator.rb', line 30 def ok? ok == true end |