Class: PactBroker::Client::Versions::JsonFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/pact_broker/client/versions/json_formatter.rb

Class Method Summary collapse

Class Method Details

.call(version) ⇒ Object



9
10
11
# File 'lib/pact_broker/client/versions/json_formatter.rb', line 9

def self.call(version)
  JSON.pretty_generate(version)
end