Class: KiTrello::Board
- Inherits:
-
Object
- Object
- KiTrello::Board
- Defined in:
- lib/ki_trello/board.rb
Instance Method Summary collapse
- #full ⇒ Object
-
#initialize(board_data) ⇒ Board
constructor
A new instance of Board.
- #simplified ⇒ Object
Constructor Details
#initialize(board_data) ⇒ Board
Returns a new instance of Board.
5 6 7 |
# File 'lib/ki_trello/board.rb', line 5 def initialize(board_data) @board_data = board_data end |
Instance Method Details
#full ⇒ Object
13 14 15 |
# File 'lib/ki_trello/board.rb', line 13 def full @board_data end |
#simplified ⇒ Object
9 10 11 |
# File 'lib/ki_trello/board.rb', line 9 def simplified @board_data.select{ |k,v| ["id","name","url"].include? k } end |