Class: Trello::List

Inherits:
ApiObject show all
Defined in:
lib/trello/list.rb

Instance Method Summary collapse

Methods inherited from ApiObject

#delete, #initialize

Constructor Details

This class inherits a constructor from Trello::ApiObject

Instance Method Details

#add(board_id:, **args) ⇒ Object



12
13
14
# File 'lib/trello/list.rb', line 12

def add(board_id:, **args)
  @client.post("/1/lists", args.merge(idBoard: board_id))
end

#fetch(id:) ⇒ Object



8
9
10
# File 'lib/trello/list.rb', line 8

def fetch(id:)
  super
end

#fetch_all(**args) ⇒ Object



3
4
5
6
# File 'lib/trello/list.rb', line 3

def fetch_all(**args)
  raise unless args[:board_id]
  super
end