Module: Trell::Client::Boards
- Included in:
- Trell::Client
- Defined in:
- lib/trell/client/boards.rb
Instance Method Summary collapse
- #board(id, options = {}) ⇒ Object
- #create_board(options = {}) ⇒ Object
- #delete_board(id, options = {}) ⇒ Object
- #member_boards(username, options = {}) ⇒ Object (also: #boards)
- #organization_boards(name, options = {}) ⇒ Object (also: #org_boards)
- #update_board(id, options = {}) ⇒ Object
Instance Method Details
#board(id, options = {}) ⇒ Object
18 19 20 |
# File 'lib/trell/client/boards.rb', line 18 def board(id, = {}) get "boards/#{id}", end |
#create_board(options = {}) ⇒ Object
14 15 16 |
# File 'lib/trell/client/boards.rb', line 14 def create_board( = {}) post 'boards', end |
#delete_board(id, options = {}) ⇒ Object
26 27 28 |
# File 'lib/trell/client/boards.rb', line 26 def delete_board(id, = {}) delete "boards/#{id}", end |
#member_boards(username, options = {}) ⇒ Object Also known as: boards
4 5 6 |
# File 'lib/trell/client/boards.rb', line 4 def member_boards(username, = {}) get "members/#{username}/boards", end |
#organization_boards(name, options = {}) ⇒ Object Also known as: org_boards
9 10 11 |
# File 'lib/trell/client/boards.rb', line 9 def organization_boards(name, = {}) get "organizations/#{name}/boards", end |
#update_board(id, options = {}) ⇒ Object
22 23 24 |
# File 'lib/trell/client/boards.rb', line 22 def update_board(id, = {}) put "boards/#{id}", end |