Class: GoogleOauthValidator::Result

Inherits:
Struct
  • Object
show all
Defined in:
app/services/google_oauth_validator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



29
30
31
# File 'app/services/google_oauth_validator.rb', line 29

def email
  @email
end

#email_verifiedObject

Returns the value of attribute email_verified

Returns:

  • (Object)

    the current value of email_verified



29
30
31
# File 'app/services/google_oauth_validator.rb', line 29

def email_verified
  @email_verified
end

#okObject

Returns the value of attribute ok

Returns:

  • (Object)

    the current value of ok



29
30
31
# File 'app/services/google_oauth_validator.rb', line 29

def ok
  @ok
end

#reasonObject

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



29
30
31
# File 'app/services/google_oauth_validator.rb', line 29

def reason
  @reason
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'app/services/google_oauth_validator.rb', line 30

def ok?
  ok == true
end