Sha256: 39753e027238653f2dd204d6807a0e56086f99a0326c1da844de9e71c159aa44
Contents?: true
Size: 371 Bytes
Versions: 63
Compression:
Stored size: 371 Bytes
Contents
module Pact module Doc class SortInteractions def self.call interactions interactions.sort{|a, b| sortable_id(a) <=> sortable_id(b)} end private def self.sortable_id interaction "#{interaction.description.downcase} #{interaction.response.status} #{(interaction.provider_state || '').downcase}" end end end end
Version data entries
63 entries across 63 versions & 1 rubygems