Class: Beacon::Transport::Result
- Inherits:
-
Struct
- Object
- Struct
- Beacon::Transport::Result
- Defined in:
- lib/beacon/transport.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#retry_after ⇒ Object
Returns the value of attribute retry_after.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
7 8 9 |
# File 'lib/beacon/transport.rb', line 7 def error @error end |
#retry_after ⇒ Object
Returns the value of attribute retry_after
7 8 9 |
# File 'lib/beacon/transport.rb', line 7 def retry_after @retry_after end |
#status ⇒ Object
Returns the value of attribute status
7 8 9 |
# File 'lib/beacon/transport.rb', line 7 def status @status end |
Instance Method Details
#transport_error? ⇒ Boolean
8 9 10 |
# File 'lib/beacon/transport.rb', line 8 def transport_error? !error.nil? end |