lib/eco/api/session/batch/job.rb in eco-helpers-1.1.5 vs lib/eco/api/session/batch/job.rb in eco-helpers-1.1.6
- old
+ new
@@ -27,10 +27,10 @@
attr_reader :name, :type, :sets
attr_reader :usecase
attr_reader :status, :feedback
- # @param e [Eco::API::Common::Session::Environment] requires a session environmen, as any child of `Eco::API::Common::Session::BaseSession`
+ # @param e [Eco::API::Common::Session::Environment] requires a session environment, as any child of `Eco::API::Common::Session::BaseSession`
# @param name [String] the name of this `batch job`
# @param type [Symbol] a valid batch operation
# @param usecase [Eco::API::UseCases::UseCase, nil] when provided: `usecase` that generated this `batch job`
def initialize(e, name:, type:, sets:, usecase: nil)
raise "A name is required to refer a job. Given: #{name}" if !name