Class: Ctrl::Checklist
- Inherits:
-
Object
- Object
- Ctrl::Checklist
- Defined in:
- lib/ctrl/checklist.rb
Instance Attribute Summary collapse
-
#board ⇒ Object
readonly
Returns the value of attribute board.
-
#card ⇒ Object
readonly
Returns the value of attribute card.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#list ⇒ Object
readonly
Returns the value of attribute list.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
- .all(card = nil) ⇒ Object
- .create(opts) ⇒ Object
- .find_by_id(id) ⇒ Object
- .find_by_name(name, card = nil, list = nil, board = nil) ⇒ Object
Instance Method Summary collapse
-
#initialize ⇒ Checklist
constructor
A new instance of Checklist.
- #save ⇒ Object
Constructor Details
#initialize ⇒ Checklist
Returns a new instance of Checklist.
6 |
# File 'lib/ctrl/checklist.rb', line 6 def initialize; end |
Instance Attribute Details
#board ⇒ Object (readonly)
Returns the value of attribute board.
3 4 5 |
# File 'lib/ctrl/checklist.rb', line 3 def board @board end |
#card ⇒ Object (readonly)
Returns the value of attribute card.
3 4 5 |
# File 'lib/ctrl/checklist.rb', line 3 def card @card end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
3 4 5 |
# File 'lib/ctrl/checklist.rb', line 3 def data @data end |
#list ⇒ Object (readonly)
Returns the value of attribute list.
3 4 5 |
# File 'lib/ctrl/checklist.rb', line 3 def list @list end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/ctrl/checklist.rb', line 4 def name @name end |
Class Method Details
.all(card = nil) ⇒ Object
10 |
# File 'lib/ctrl/checklist.rb', line 10 def self.all(card=nil); end |
.create(opts) ⇒ Object
11 |
# File 'lib/ctrl/checklist.rb', line 11 def self.create(opts); end |
.find_by_id(id) ⇒ Object
8 |
# File 'lib/ctrl/checklist.rb', line 8 def self.find_by_id(id); end |
.find_by_name(name, card = nil, list = nil, board = nil) ⇒ Object
9 |
# File 'lib/ctrl/checklist.rb', line 9 def self.find_by_name(name, card=nil, list=nil, board=nil); end |
Instance Method Details
#save ⇒ Object
7 |
# File 'lib/ctrl/checklist.rb', line 7 def save; end |