Class: Clacky::Fanout::Result
- Inherits:
-
Struct
- Object
- Struct
- Clacky::Fanout::Result
- Defined in:
- lib/clacky/fanout.rb
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#error ⇒ Object
Returns the value of attribute error.
-
#index ⇒ Object
Returns the value of attribute index.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration
11 12 13 |
# File 'lib/clacky/fanout.rb', line 11 def duration @duration end |
#error ⇒ Object
Returns the value of attribute error
11 12 13 |
# File 'lib/clacky/fanout.rb', line 11 def error @error end |
#index ⇒ Object
Returns the value of attribute index
11 12 13 |
# File 'lib/clacky/fanout.rb', line 11 def index @index end |
#value ⇒ Object
Returns the value of attribute value
11 12 13 |
# File 'lib/clacky/fanout.rb', line 11 def value @value end |
Instance Method Details
#ok? ⇒ Boolean
12 13 14 |
# File 'lib/clacky/fanout.rb', line 12 def ok? error.nil? end |