class Cucumber::Messages::Source

def self.from_h(hash)

def self.from_h(hash)
  return nil if hash.nil?
  self.new(
    uri: hash[:uri],
    data: hash[:data],
    media_type: hash[:mediaType],
  )
end