Sha256: 8079d9110c5d35384293e2c240b82d3625e3791d905f88b750c4b2af44528b0a

Contents?: true

Size: 344 Bytes

Versions: 34

Compression:

Stored size: 344 Bytes

Contents

class Dorsale::Flyboy::Task::Copy < ::Dorsale::Service
  attr_accessor :task, :copy

  def initialize(task)
    @task = task
  end

  def call
    @copy = @task.dup
    @copy.reminder_date = nil
    @copy.reminder_type = nil
    @copy.term = nil
    @copy.done = nil
    @copy.progress = nil
    @copy.assign_default_values
    @copy
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
dorsale-3.14.9 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.14.8 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.14.7 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.14.6 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.14.5 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.14.4 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.14.3 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.14.2 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.14.1 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.14.0 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.13.0 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.12.0 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.11.0 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.10.3 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.10.2 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.10.1 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.10.0 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.9.8 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.9.7 app/services/dorsale/flyboy/task/copy.rb
dorsale-3.9.6 app/services/dorsale/flyboy/task/copy.rb