Class: Browserctl::Detectors::AuthRequired::Result
- Inherits:
-
Struct
- Object
- Struct
- Browserctl::Detectors::AuthRequired::Result
- Defined in:
- lib/browserctl/detectors/auth_required.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#suggested_flow ⇒ Object
Returns the value of attribute suggested_flow.
-
#triggered ⇒ Object
Returns the value of attribute triggered.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
24 25 26 |
# File 'lib/browserctl/detectors/auth_required.rb', line 24 def code @code end |
#reason ⇒ Object
Returns the value of attribute reason
24 25 26 |
# File 'lib/browserctl/detectors/auth_required.rb', line 24 def reason @reason end |
#suggested_flow ⇒ Object
Returns the value of attribute suggested_flow
24 25 26 |
# File 'lib/browserctl/detectors/auth_required.rb', line 24 def suggested_flow @suggested_flow end |
#triggered ⇒ Object
Returns the value of attribute triggered
24 25 26 |
# File 'lib/browserctl/detectors/auth_required.rb', line 24 def triggered @triggered end |
Instance Method Details
#to_h ⇒ Object
25 26 27 |
# File 'lib/browserctl/detectors/auth_required.rb', line 25 def to_h { triggered: triggered, code: code, reason: reason, suggested_flow: suggested_flow }.compact end |