Class: Nomius::Status::Base
- Inherits:
-
Object
- Object
- Nomius::Status::Base
- Defined in:
- lib/nomius/status/base.rb
Overview
Status for available domains.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#detector ⇒ Object
readonly
Returns the value of attribute detector.
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:, detector:, exception: nil) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(name:, detector:, exception: nil) ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 |
# File 'lib/nomius/status/base.rb', line 9 def initialize(name:, detector:, exception: nil) @name = name @detector = detector @exception = exception end |
Instance Attribute Details
#detector ⇒ Object (readonly)
Returns the value of attribute detector.
7 8 9 |
# File 'lib/nomius/status/base.rb', line 7 def detector @detector end |
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
7 8 9 |
# File 'lib/nomius/status/base.rb', line 7 def exception @exception end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/nomius/status/base.rb', line 7 def name @name end |