Class: KiTrello::Board

Inherits:
Object
  • Object
show all
Defined in:
lib/ki_trello/board.rb

Instance Method Summary collapse

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

#fullObject



13
14
15
# File 'lib/ki_trello/board.rb', line 13

def full
  @board_data
end

#simplifiedObject



9
10
11
# File 'lib/ki_trello/board.rb', line 9

def simplified
  @board_data.select{ |k,v| ["id","name","url"].include? k }
end