Sha256: c5dbe0b2d046fd5ee4b3e598ba4e92782f7ae4969948cf74d5bc6f847a883f79

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

module SoberSwag
  module Serializer
    class Primitive < Base
      def initialize(type)
        @type = type
      end

      attr_reader :type

      def serialize(object, options = {})
        object
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sober_swag-0.1.0 lib/sober_swag/serializer/primitive.rb