Sha256: 07ee8eeef25ead0d23d35ff5a2f6df36d055b8d6fec32d57fc5f52ade283b45b

Contents?: true

Size: 921 Bytes

Versions: 17

Compression:

Stored size: 921 Bytes

Contents

require "active_support/core_ext/module/delegation"

module InventoryRefresh
  class InventoryCollection
    class UnconnectedEdge
      attr_reader :inventory_object, :inventory_object_key, :inventory_object_lazy

      # @param inventory_object [InventoryRefresh::InventoryObject] InventoryObject that couldn't connect the relation
      # @param inventory_object_key [String] Relation name that couldn't be connected
      # @param inventory_object_lazy [InventoryRefresh::InventoryObjectLazy] The lazy relation that failed to load
      #                              this can happen only for relations with key, or pointing to DB only relations
      def initialize(inventory_object, inventory_object_key, inventory_object_lazy)
        @inventory_object      = inventory_object
        @inventory_object_key  = inventory_object_key
        @inventory_object_lazy = inventory_object_lazy
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
inventory_refresh-2.2.0 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-2.1.1 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-2.1.0 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-2.0.0 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-1.1.0 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-1.0.0 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.2.3 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.2.2 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.3.6 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.3.5 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.3.4 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.3.3 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.2.1 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.3.2 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.3.1 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.3.0 lib/inventory_refresh/inventory_collection/unconnected_edge.rb
inventory_refresh-0.2.0 lib/inventory_refresh/inventory_collection/unconnected_edge.rb