Class: PactBroker::Client::Versions::Describe::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/pact_broker/client/versions/describe.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message = nil
  @success = success
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



12
13
14
# File 'lib/pact_broker/client/versions/describe.rb', line 12

def message
  @message
end

#successObject (readonly)

Returns the value of attribute success.



12
13
14
# File 'lib/pact_broker/client/versions/describe.rb', line 12

def success
  @success
end