Class: PactBroker::Client::CanIDeploy::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



14
15
16
# File 'lib/pact_broker/client/can_i_deploy.rb', line 14

def message
  @message
end

#successObject (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