Class: TimeTree::Label

Inherits:
BaseModel show all
Defined in:
lib/timetree/models/label.rb

Overview

Model for TimeTree color theme.

Instance Attribute Summary collapse

Attributes inherited from BaseModel

#id, #relationships, #type

Method Summary

Methods inherited from BaseModel

#initialize, #inspect, to_model

Constructor Details

This class inherits a constructor from TimeTree::BaseModel

Instance Attribute Details

#colorString

Returns:

  • (String)


11
12
13
# File 'lib/timetree/models/label.rb', line 11

def color
  @color
end

#nameString

Returns:

  • (String)


9
10
11
# File 'lib/timetree/models/label.rb', line 9

def name
  @name
end