Sha256: b29873782532332734b90222c630d45b098c2d6242f0d41bca16ef19a5fe9358

Contents?: true

Size: 219 Bytes

Versions: 8

Compression:

Stored size: 219 Bytes

Contents

# frozen_string_literal: true

module ActiveModel
  class Serializer
    # @api private
    class BelongsToReflection < Reflection
      # @api private
      def foreign_key_on
        :self
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
active_model_serializers-0.10.15 lib/active_model/serializer/belongs_to_reflection.rb
active_model_serializers-0.10.14 lib/active_model/serializer/belongs_to_reflection.rb
active_model_serializers-0.10.13 lib/active_model/serializer/belongs_to_reflection.rb
active_model_serializers-0.10.12 lib/active_model/serializer/belongs_to_reflection.rb
active_model_serializers-0.10.11 lib/active_model/serializer/belongs_to_reflection.rb
active_model_serializers-0.10.10 lib/active_model/serializer/belongs_to_reflection.rb
active_model_serializers_custom-0.10.90 lib/active_model/serializer/belongs_to_reflection.rb
active_model_serializers-0.10.9 lib/active_model/serializer/belongs_to_reflection.rb