Method: PactBroker::Webhooks::Execution#<=>

Defined in:
lib/pact_broker/webhooks/execution.rb

#<=>(other) ⇒ Object



24
25
26
27
28
# File 'lib/pact_broker/webhooks/execution.rb', line 24

def <=> other
  comp = created_date <=> other.created_date
  comp = id <=> other.id if comp == 0
  comp
end