Module: Trell::Client::Boards

Included in:
Trell::Client
Defined in:
lib/trell/client/boards.rb

Instance Method Summary collapse

Instance Method Details

#board(id, options = {}) ⇒ Object



18
19
20
# File 'lib/trell/client/boards.rb', line 18

def board(id, options = {})
  get "boards/#{id}", options
end

#create_board(options = {}) ⇒ Object



14
15
16
# File 'lib/trell/client/boards.rb', line 14

def create_board(options = {})
  post 'boards', options
end

#delete_board(id, options = {}) ⇒ Object



26
27
28
# File 'lib/trell/client/boards.rb', line 26

def delete_board(id, options = {})
  delete "boards/#{id}", options
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, options = {})
  get "members/#{username}/boards", options
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, options = {})
  get "organizations/#{name}/boards", options
end

#update_board(id, options = {}) ⇒ Object



22
23
24
# File 'lib/trell/client/boards.rb', line 22

def update_board(id, options = {})
  put "boards/#{id}", options
end