Class: Pact::Message::Contents

Inherits:
Object
  • Object
show all
Defined in:
lib/pact/consumer_contract/message/contents.rb

Class Method Summary collapse

Class Method Details

.from_hash(*args) ⇒ Object



44
45
46
# File 'lib/pact/consumer_contract/message/contents.rb', line 44

def self.from_hash *args
  Pact::ConsumerContract::Message::Contents.from_hash(*args)
end

.new(*args) ⇒ Object



40
41
42
# File 'lib/pact/consumer_contract/message/contents.rb', line 40

def self.new *args
  Pact::ConsumerContract::Message::Contents.new(*args)
end