Sha256: 75510e17fe55dc6eae227d040c6d5e4fcc446fd4924098ef780ebc25eaf638e7

Contents?: true

Size: 120 Bytes

Versions: 4

Compression:

Stored size: 120 Bytes

Contents

#!/usr/bin/env ruby

class YAMLConduit

  def self.pack(data)
    YAML.dump(data.map(&:attributes))
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jcangas-datagateway-1.1.0 lib/datagateway/conduits/yaml_conduit.rb
jcangas-datagateway-1.2.2 lib/datagateway/conduits/yaml_conduit.rb
jcangas-datagateway-1.4.4 lib/datagateway/conduits/yaml_conduit.rb
jcangas-datagateway-1.5.0 lib/datagateway/conduits/yaml_conduit.rb