Sha256: dbd89b49aae7ece481496223d6efe53f7ed8a117ab6ac8b0f079650af5a32156

Contents?: true

Size: 430 Bytes

Versions: 2

Compression:

Stored size: 430 Bytes

Contents

module Hydra::Works
  # @deprecated use Hydra::Works::WorkBehavior instead
  module GenericWorkBehavior
    extend ActiveSupport::Concern
    extend Deprecation
    self.deprecation_horizon = "Hydra::Works 0.4.0"
    included do
      Deprecation.warn self, "GenericWorkBehavior is deprecated. Use WorkBehavior instead. This module will be removed in Hydra::Works 0.4.0"
      include Hydra::Works::WorkBehavior
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydra-works-0.4.0 lib/hydra/works/models/concerns/generic_work_behavior.rb
hydra-works-0.3.0 lib/hydra/works/models/concerns/generic_work_behavior.rb