Class: PactBroker::Client::CanIDeploy::Result
- Inherits:
-
Object
- Object
- PactBroker::Client::CanIDeploy::Result
- Defined in:
- lib/pact_broker/client/can_i_deploy.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) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(success, message = nil) ⇒ Result
Returns a new instance of Result.
16 17 18 19 |
# File 'lib/pact_broker/client/can_i_deploy.rb', line 16 def initialize success, = nil @success = success @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
14 15 16 |
# File 'lib/pact_broker/client/can_i_deploy.rb', line 14 def @message end |
#success ⇒ Object (readonly)
Returns the value of attribute success.
14 15 16 |
# File 'lib/pact_broker/client/can_i_deploy.rb', line 14 def success @success end |