Class: PactBroker::Client::CommandResult
- Inherits:
-
Object
- Object
- PactBroker::Client::CommandResult
- Defined in:
- lib/pact_broker/client/command_result.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success, message = nil) ⇒ CommandResult
constructor
A new instance of CommandResult.
Constructor Details
#initialize(success, message = nil) ⇒ CommandResult
Returns a new instance of CommandResult.
6 7 8 9 |
# File 'lib/pact_broker/client/command_result.rb', line 6 def initialize success, = nil @success = success @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/pact_broker/client/command_result.rb', line 4 def @message end |
#success ⇒ Object (readonly)
Returns the value of attribute success.
4 5 6 |
# File 'lib/pact_broker/client/command_result.rb', line 4 def success @success end |