Sha256: c850f08f78ae393d2a0c2b5865ed920d37d0c0718c053759499074927e895e9f

Contents?: true

Size: 347 Bytes

Versions: 9

Compression:

Stored size: 347 Bytes

Contents

module RailsConnector
  class Task < AbstractModel
    self.primary_key = "task_id"

    def full_task_type
      case task_type
      when 'E'
        'edit'
      when 'S'
        'sign'
      end
    end

    def time_stamp_date
      value = self.time_stamp
      RailsConnector::DateAttribute.parse(value) unless value.nil?
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
infopark_fiona7-1.6.1.1.5 app/models/rails_connector/task.rb
infopark_fiona7-1.6.1.1.1 app/models/rails_connector/task.rb
infopark_fiona7-1.6.1.1.0 app/models/rails_connector/task.rb
infopark_fiona7-1.5.5.5.1 app/models/rails_connector/task.rb
infopark_fiona7-1.5.5.5.0 app/models/rails_connector/task.rb
infopark_fiona7-1.5.5.4.1 app/models/rails_connector/task.rb
infopark_fiona7-1.5.5.4.0 app/models/rails_connector/task.rb
infopark_fiona7-1.5.5.3.1 app/models/rails_connector/task.rb
infopark_fiona7-1.5.4.3.0 app/models/rails_connector/task.rb