Class: Trello::LabelName

Inherits:
BasicData show all
Defined in:
lib/trello/label_name.rb

Overview

A colored Label attached to a card

Instance Attribute Summary collapse

Attributes inherited from BasicData

#client

Method Summary

Methods inherited from BasicData

#==, #attributes, client, #collection_name, #collection_path, create, #element_name, #element_path, find, #hash, #initialize, many, one, parse, parse_many, path_name, #refresh!, register_attrs, #save, save, schema, #schema, #update!, #update_fields

Methods included from JsonUtils

included

Constructor Details

This class inherits a constructor from Trello::BasicData

Instance Attribute Details

#blackObject (readonly)

A colored Label attached to a card



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/label_name.rb', line 14

class LabelName < BasicData
  schema do
    attribute :yellow, readonly: true
    attribute :red, readonly: true
    attribute :orange, readonly: true
    attribute :green, readonly: true
    attribute :purple, readonly: true
    attribute :blue, readonly: true
    attribute :sky, readonly: true
    attribute :pink, readonly: true
    attribute :lime, readonly: true
    attribute :black, readonly: true
  end
end

#blueObject (readonly)

A colored Label attached to a card



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/label_name.rb', line 14

class LabelName < BasicData
  schema do
    attribute :yellow, readonly: true
    attribute :red, readonly: true
    attribute :orange, readonly: true
    attribute :green, readonly: true
    attribute :purple, readonly: true
    attribute :blue, readonly: true
    attribute :sky, readonly: true
    attribute :pink, readonly: true
    attribute :lime, readonly: true
    attribute :black, readonly: true
  end
end

#greenObject (readonly)

A colored Label attached to a card



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/label_name.rb', line 14

class LabelName < BasicData
  schema do
    attribute :yellow, readonly: true
    attribute :red, readonly: true
    attribute :orange, readonly: true
    attribute :green, readonly: true
    attribute :purple, readonly: true
    attribute :blue, readonly: true
    attribute :sky, readonly: true
    attribute :pink, readonly: true
    attribute :lime, readonly: true
    attribute :black, readonly: true
  end
end

#limeObject (readonly)

A colored Label attached to a card



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/label_name.rb', line 14

class LabelName < BasicData
  schema do
    attribute :yellow, readonly: true
    attribute :red, readonly: true
    attribute :orange, readonly: true
    attribute :green, readonly: true
    attribute :purple, readonly: true
    attribute :blue, readonly: true
    attribute :sky, readonly: true
    attribute :pink, readonly: true
    attribute :lime, readonly: true
    attribute :black, readonly: true
  end
end

#orangeObject (readonly)

A colored Label attached to a card



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/label_name.rb', line 14

class LabelName < BasicData
  schema do
    attribute :yellow, readonly: true
    attribute :red, readonly: true
    attribute :orange, readonly: true
    attribute :green, readonly: true
    attribute :purple, readonly: true
    attribute :blue, readonly: true
    attribute :sky, readonly: true
    attribute :pink, readonly: true
    attribute :lime, readonly: true
    attribute :black, readonly: true
  end
end

#pinkObject (readonly)

A colored Label attached to a card



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/label_name.rb', line 14

class LabelName < BasicData
  schema do
    attribute :yellow, readonly: true
    attribute :red, readonly: true
    attribute :orange, readonly: true
    attribute :green, readonly: true
    attribute :purple, readonly: true
    attribute :blue, readonly: true
    attribute :sky, readonly: true
    attribute :pink, readonly: true
    attribute :lime, readonly: true
    attribute :black, readonly: true
  end
end

#purpleObject (readonly)

A colored Label attached to a card



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/label_name.rb', line 14

class LabelName < BasicData
  schema do
    attribute :yellow, readonly: true
    attribute :red, readonly: true
    attribute :orange, readonly: true
    attribute :green, readonly: true
    attribute :purple, readonly: true
    attribute :blue, readonly: true
    attribute :sky, readonly: true
    attribute :pink, readonly: true
    attribute :lime, readonly: true
    attribute :black, readonly: true
  end
end

#redObject (readonly)

A colored Label attached to a card



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/label_name.rb', line 14

class LabelName < BasicData
  schema do
    attribute :yellow, readonly: true
    attribute :red, readonly: true
    attribute :orange, readonly: true
    attribute :green, readonly: true
    attribute :purple, readonly: true
    attribute :blue, readonly: true
    attribute :sky, readonly: true
    attribute :pink, readonly: true
    attribute :lime, readonly: true
    attribute :black, readonly: true
  end
end

#skyObject (readonly)

A colored Label attached to a card



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/label_name.rb', line 14

class LabelName < BasicData
  schema do
    attribute :yellow, readonly: true
    attribute :red, readonly: true
    attribute :orange, readonly: true
    attribute :green, readonly: true
    attribute :purple, readonly: true
    attribute :blue, readonly: true
    attribute :sky, readonly: true
    attribute :pink, readonly: true
    attribute :lime, readonly: true
    attribute :black, readonly: true
  end
end

#yellowObject (readonly)

A colored Label attached to a card



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/label_name.rb', line 14

class LabelName < BasicData
  schema do
    attribute :yellow, readonly: true
    attribute :red, readonly: true
    attribute :orange, readonly: true
    attribute :green, readonly: true
    attribute :purple, readonly: true
    attribute :blue, readonly: true
    attribute :sky, readonly: true
    attribute :pink, readonly: true
    attribute :lime, readonly: true
    attribute :black, readonly: true
  end
end