lib/eco/api/common/loaders/use_case.rb in eco-helpers-2.5.2 vs lib/eco/api/common/loaders/use_case.rb in eco-helpers-2.5.3
- old
+ new
@@ -1,11 +1,10 @@
module Eco
module API
module Common
module Loaders
class UseCase < Eco::API::Common::Loaders::CaseBase
-
class << self
# @return [Symbol] the `type` of usecase (i.e. `:sync`, `:transform`, `:import`, `:other`)
def type(value = nil)
unless value
return @type || raise("You should specify a type of case [:sync, :transform, :import, :other] for #{self}")
@@ -32,10 +31,9 @@
end
def type
self.class.type
end
-
end
end
end
end
end