Class: TrelloCli::Requests::ListBoards
- Inherits:
-
Object
- Object
- TrelloCli::Requests::ListBoards
- Includes:
- Shared
- Defined in:
- lib/trello_cli/requests/list_boards.rb
Instance Method Summary collapse
-
#initialize ⇒ ListBoards
constructor
A new instance of ListBoards.
- #list ⇒ Object
Methods included from Shared
#connect_to_trello, #key, #token
Constructor Details
#initialize ⇒ ListBoards
Returns a new instance of ListBoards.
7 8 9 |
# File 'lib/trello_cli/requests/list_boards.rb', line 7 def initialize connect_to_trello end |
Instance Method Details
#list ⇒ Object
11 12 13 |
# File 'lib/trello_cli/requests/list_boards.rb', line 11 def list Trello::Board.all end |