Class: PactBroker::Contracts::ContractsPublicationResults

Inherits:
Struct
  • Object
show all
Defined in:
lib/pact_broker/contracts/contracts_publication_results.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#contractsObject

Returns the value of attribute contracts

Returns:

  • (Object)

    the current value of contracts



3
4
5
# File 'lib/pact_broker/contracts/contracts_publication_results.rb', line 3

def contracts
  @contracts
end

#noticesObject

Returns the value of attribute notices

Returns:

  • (Object)

    the current value of notices



3
4
5
# File 'lib/pact_broker/contracts/contracts_publication_results.rb', line 3

def notices
  @notices
end

#pacticipantObject

Returns the value of attribute pacticipant

Returns:

  • (Object)

    the current value of pacticipant



3
4
5
# File 'lib/pact_broker/contracts/contracts_publication_results.rb', line 3

def pacticipant
  @pacticipant
end

#tagsObject

Returns the value of attribute tags

Returns:

  • (Object)

    the current value of tags



3
4
5
# File 'lib/pact_broker/contracts/contracts_publication_results.rb', line 3

def tags
  @tags
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



3
4
5
# File 'lib/pact_broker/contracts/contracts_publication_results.rb', line 3

def version
  @version
end

Class Method Details

.from_hash(params) ⇒ Object



4
5
6
# File 'lib/pact_broker/contracts/contracts_publication_results.rb', line 4

def self.from_hash(params)
  new(params)
end