Sha256: e73426cea9f555fdf98c47690d5d0f1e4ba9911f7f80f5518f54371a66b1ed10

Contents?: true

Size: 377 Bytes

Versions: 26

Compression:

Stored size: 377 Bytes

Contents

module Foobara
  module CommandConnectors
    module Serializers
      # TODO: move this to its own project
      class YamlSerializer < Serializer
        def serialize(object)
          YAML.dump(object)
        end

        def deserialize(string)
          YAML.load(string)
        end

        def priority
          Priority::LOW
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
foobara-0.0.26 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.25 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.24 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.23 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.22 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.21 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.20 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.19 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.18 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.17 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.16 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.15 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.14 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.13 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.12 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.11 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.10 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.9 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.8 projects/command_connectors/src/serializers/yaml_serializer.rb
foobara-0.0.7 projects/command_connectors/src/serializers/yaml_serializer.rb