Sha256: 352bf9929b02b76044c4d7eb57f437d98b5ab983a858095f7785150a8c81370c

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

module Kamerling class Task < UUIDEntity
  attribute :data,    String
  attribute :done,    Boolean, default: false
  attribute :project, Project

  def to_h
    super.reject { |key, _| key == :project }.merge project_uuid: project.uuid
  end
end end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kamerling-0.0.2 lib/kamerling/task.rb