Class: PactBroker::Client::Versions::Describe::Result
- Inherits:
-
Object
- Object
- PactBroker::Client::Versions::Describe::Result
- Defined in:
- lib/pact_broker/client/versions/describe.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.
14 15 16 17 |
# File 'lib/pact_broker/client/versions/describe.rb', line 14 def initialize success, = nil @success = success @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
12 13 14 |
# File 'lib/pact_broker/client/versions/describe.rb', line 12 def @message end |
#success ⇒ Object (readonly)
Returns the value of attribute success.
12 13 14 |
# File 'lib/pact_broker/client/versions/describe.rb', line 12 def success @success end |