Class: Ctrl::Checklist

Inherits:
Object
  • Object
show all
Defined in:
lib/ctrl/checklist.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChecklist

Returns a new instance of Checklist.



6
# File 'lib/ctrl/checklist.rb', line 6

def initialize; end

Instance Attribute Details

#boardObject (readonly)

Returns the value of attribute board.



3
4
5
# File 'lib/ctrl/checklist.rb', line 3

def board
  @board
end

#cardObject (readonly)

Returns the value of attribute card.



3
4
5
# File 'lib/ctrl/checklist.rb', line 3

def card
  @card
end

#dataObject (readonly)

Returns the value of attribute data.



3
4
5
# File 'lib/ctrl/checklist.rb', line 3

def data
  @data
end

#listObject (readonly)

Returns the value of attribute list.



3
4
5
# File 'lib/ctrl/checklist.rb', line 3

def list
  @list
end

#nameObject

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

#saveObject



7
# File 'lib/ctrl/checklist.rb', line 7

def save; end