Sha256: 4b36fd768cc4749a4e01b91fdfc6dca96b3c67ee5bc5e6386ea7be5828aa6e85

Contents?: true

Size: 524 Bytes

Versions: 21

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

# Module Mutils
module Mutils
  module Serialization
    # Module SerializationIncludes
    module SerializationIncludes
      def self.included(base)
        base.class_eval do
          class << self
            attr_accessor :serializer_name,
                          :include_root,
                          :relationships,
                          :attributes_to_serialize,
                          :attributes_to_serialize_blocks
          end
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
mutils-1.3.3 lib/mutils/serialization/serialization_includes.rb
mutils-1.3.2 lib/mutils/serialization/serialization_includes.rb
mutils-1.3.1 lib/mutils/serialization/serialization_includes.rb
mutils-1.3.0 lib/mutils/serialization/serialization_includes.rb
mutils-1.2.6 lib/mutils/serialization/serialization_includes.rb
mutils-1.2.5 lib/mutils/serialization/serialization_includes.rb
mutils-1.2.2 lib/mutils/serialization/serialization_includes.rb
mutils-1.2.1 lib/mutils/serialization/serialization_includes.rb
mutils-1.2.0 lib/mutils/serialization/serialization_includes.rb
mutils-1.1.8 lib/mutils/serialization/serialization_includes.rb
mutils-1.1.7 lib/mutils/serialization/serialization_includes.rb
mutils-1.1.6 lib/mutils/serialization/serialization_includes.rb
mutils-1.1.5 lib/mutils/serialization/serialization_includes.rb
mutils-1.1.4 lib/mutils/serialization/serialization_includes.rb
mutils-1.1.3 lib/mutils/serialization/serialization_includes.rb
mutils-1.1.2 lib/mutils/serialization/serialization_includes.rb
mutils-1.1.1 lib/mutils/serialization/serialization_includes.rb
mutils-1.1.0 lib/mutils/serialization/serialization_includes.rb
mutils-1.0.1 lib/mutils/serialization/serialization_includes.rb
mutils-1.0.0 lib/mutils/serialization/serialization_includes.rb