Module: Tr3llo::API::List

Extended by:
List
Included in:
List
Defined in:
lib/3llo/api/list.rb

Instance Method Summary collapse

Instance Method Details

#find_all_by_board(board_id) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
# File 'lib/3llo/api/list.rb', line 6

def find_all_by_board(board_id)
  JSON.parse(
    client.get(
      "/boards/#{board_id}/lists/",
      list: true,
      key: api_key,
      token: api_token
    ),
    symbolize_names: true
  )
end