Class: PactBroker::Pacts::Parse

Inherits:
Object
  • Object
show all
Defined in:
lib/pact_broker/pacts/parse.rb

Class Method Summary collapse

Class Method Details

.call(json) ⇒ Object



7
8
9
# File 'lib/pact_broker/pacts/parse.rb', line 7

def self.call(json)
  JSON.parse(json, PACT_PARSING_OPTIONS)
end