Class: BetterAuth::OAuthState::Error
- Inherits:
-
Error
- Object
- Error
- BetterAuth::OAuthState::Error
- Defined in:
- lib/better_auth/oauth_state.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#error_url ⇒ Object
readonly
Returns the value of attribute error_url.
Instance Method Summary collapse
-
#initialize(code, error_url: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code, error_url: nil) ⇒ Error
Returns a new instance of Error.
18 19 20 21 22 |
# File 'lib/better_auth/oauth_state.rb', line 18 def initialize(code, error_url: nil) @code = code @error_url = error_url super(code) end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
16 17 18 |
# File 'lib/better_auth/oauth_state.rb', line 16 def code @code end |
#error_url ⇒ Object (readonly)
Returns the value of attribute error_url.
16 17 18 |
# File 'lib/better_auth/oauth_state.rb', line 16 def error_url @error_url end |