Class: BCDD::Process::Output::Properties
- Inherits:
-
Object
- Object
- BCDD::Process::Output::Properties
- Defined in:
- lib/bcdd/process/output.rb
Overview
:nodoc:
Constant Summary collapse
- INVALID_INPUT =
{ invalid_input: ::Hash }.freeze
Instance Attribute Summary collapse
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
- #failure ⇒ Object
- #failure=(spec) ⇒ Object
-
#initialize ⇒ Properties
constructor
A new instance of Properties.
Constructor Details
#initialize ⇒ Properties
Returns a new instance of Properties.
10 11 12 13 |
# File 'lib/bcdd/process/output.rb', line 10 def initialize @success = {} @failure = {} end |
Instance Attribute Details
#success ⇒ Object
Returns the value of attribute success.
8 9 10 |
# File 'lib/bcdd/process/output.rb', line 8 def success @success end |
Instance Method Details
#failure ⇒ Object
25 26 27 |
# File 'lib/bcdd/process/output.rb', line 25 def failure INVALID_INPUT.merge(@failure) end |