Class: PactBroker::Pacts::PactParams::PacticipantName

Inherits:
Struct
  • Object
show all
Defined in:
lib/pact_broker/pacts/pact_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



92
93
94
# File 'lib/pact_broker/pacts/pact_params.rb', line 92

def name
  @name
end

#name_in_pactObject

Returns the value of attribute name_in_pact

Returns:

  • (Object)

    the current value of name_in_pact



92
93
94
# File 'lib/pact_broker/pacts/pact_params.rb', line 92

def name_in_pact
  @name_in_pact
end

#pacticipantObject

Returns the value of attribute pacticipant

Returns:

  • (Object)

    the current value of pacticipant



92
93
94
# File 'lib/pact_broker/pacts/pact_params.rb', line 92

def pacticipant
  @pacticipant
end

Instance Method Details

#message_argsObject



93
94
95
96
97
98
99
# File 'lib/pact_broker/pacts/pact_params.rb', line 93

def message_args
  {
    name: name,
    name_in_pact: name_in_pact,
    pacticipant: pacticipant
  }
end