Sha256: 1a9af5f8626d7f8f465ed4abdc4efa4d4dbf66d87fa428d930d44ad9093c6a6a

Contents?: true

Size: 582 Bytes

Versions: 5

Compression:

Stored size: 582 Bytes

Contents

# frozen_string_literal: true

# Module Mutils
module Mutils
  module Serialization
    # Module SerializationIncludes
    module SerializationIncludes
      extend ActiveSupport::Concern
      included do
        class << self
          attr_accessor :method_to_serialize,
                        :attributes_to_serialize,
                        :serializer_name,
                        :include_root,
                        :array_index,
                        :belongs_to_relationships,
                        :has_many_relationships
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mutils-0.2.31 lib/mutils/serialization/serialization_includes.rb
mutils-0.2.30 lib/mutils/serialization/serialization_includes.rb
mutils-0.2.29 lib/mutils/serialization/serialization_includes.rb
mutils-0.2.28 lib/mutils/serialization/serialization_includes.rb
mutils-0.2.27 lib/mutils/serialization/serialization_includes.rb