Class: Rails::Hyperdrive::CompanionDiscovery::Result
- Inherits:
-
Struct
- Object
- Struct
- Rails::Hyperdrive::CompanionDiscovery::Result
- Defined in:
- lib/rails/hyperdrive/companion_discovery.rb
Overview
Outcome of a run. status: :online — served live or fresh-cached results :stale — network failed; served an expired cache :unavailable — network failed and no cache to fall back to
Instance Attribute Summary collapse
-
#age_seconds ⇒ Object
Returns the value of attribute age_seconds.
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#status ⇒ Object
Returns the value of attribute status.
-
#suggestions ⇒ Object
Returns the value of attribute suggestions.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Attribute Details
#age_seconds ⇒ Object
Returns the value of attribute age_seconds
38 39 40 |
# File 'lib/rails/hyperdrive/companion_discovery.rb', line 38 def age_seconds @age_seconds end |
#detail ⇒ Object
Returns the value of attribute detail
38 39 40 |
# File 'lib/rails/hyperdrive/companion_discovery.rb', line 38 def detail @detail end |
#status ⇒ Object
Returns the value of attribute status
38 39 40 |
# File 'lib/rails/hyperdrive/companion_discovery.rb', line 38 def status @status end |
#suggestions ⇒ Object
Returns the value of attribute suggestions
38 39 40 |
# File 'lib/rails/hyperdrive/companion_discovery.rb', line 38 def suggestions @suggestions end |
#warnings ⇒ Object
Returns the value of attribute warnings
38 39 40 |
# File 'lib/rails/hyperdrive/companion_discovery.rb', line 38 def warnings @warnings end |