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



80
81
82
# File 'lib/pact_broker/pacts/pact_params.rb', line 80

def name
  @name
end

#name_in_pactObject

Returns the value of attribute name_in_pact

Returns:

  • (Object)

    the current value of name_in_pact



80
81
82
# File 'lib/pact_broker/pacts/pact_params.rb', line 80

def name_in_pact
  @name_in_pact
end

#pacticipantObject

Returns the value of attribute pacticipant

Returns:

  • (Object)

    the current value of pacticipant



80
81
82
# File 'lib/pact_broker/pacts/pact_params.rb', line 80

def pacticipant
  @pacticipant
end

Instance Method Details

#message_argsObject



81
82
83
84
85
86
87
# File 'lib/pact_broker/pacts/pact_params.rb', line 81

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