Class: PactBroker::Matrix::SpecifiedVersionDoesNotExist
- Inherits:
-
ErrorReason
- Object
- Reason
- ErrorReason
- PactBroker::Matrix::SpecifiedVersionDoesNotExist
- Defined in:
- lib/pact_broker/matrix/reason.rb
Overview
The specified pacticipant version does not exist
Instance Attribute Summary collapse
-
#selector ⇒ Object
readonly
Returns the value of attribute selector.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(selector) ⇒ SpecifiedVersionDoesNotExist
constructor
A new instance of SpecifiedVersionDoesNotExist.
- #to_s ⇒ Object
Constructor Details
#initialize(selector) ⇒ SpecifiedVersionDoesNotExist
Returns a new instance of SpecifiedVersionDoesNotExist.
54 55 56 |
# File 'lib/pact_broker/matrix/reason.rb', line 54 def initialize(selector) @selector = selector end |
Instance Attribute Details
#selector ⇒ Object (readonly)
Returns the value of attribute selector.
52 53 54 |
# File 'lib/pact_broker/matrix/reason.rb', line 52 def selector @selector end |
Instance Method Details
#==(other) ⇒ Object
58 59 60 |
# File 'lib/pact_broker/matrix/reason.rb', line 58 def == other super(other) && selector == other.selector end |
#to_s ⇒ Object
62 63 64 |
# File 'lib/pact_broker/matrix/reason.rb', line 62 def to_s "#{self.class} selector=#{selector}" end |