Class: MOCO::Task

Inherits:
BaseEntity show all
Defined in:
lib/moco/entities.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseEntity

#==, #eql?, #hash, #to_h, #to_json

Instance Attribute Details

#activeObject

Returns the value of attribute active.



57
58
59
# File 'lib/moco/entities.rb', line 57

def active
  @active
end

#billableObject

Returns the value of attribute billable.



57
58
59
# File 'lib/moco/entities.rb', line 57

def billable
  @billable
end

#idObject

Returns the value of attribute id.



57
58
59
# File 'lib/moco/entities.rb', line 57

def id
  @id
end

#nameObject

Returns the value of attribute name.



57
58
59
# File 'lib/moco/entities.rb', line 57

def name
  @name
end

#project_idObject

Returns the value of attribute project_id.



57
58
59
# File 'lib/moco/entities.rb', line 57

def project_id
  @project_id
end

Instance Method Details

#to_sObject



59
60
61
# File 'lib/moco/entities.rb', line 59

def to_s
  name
end