Module: Pinterest::Client::Board
- Included in:
- Pinterest::Client
- Defined in:
- lib/pinterest/client/board.rb
Instance Method Summary collapse
- #create_board(params = {}) ⇒ Object
- #delete_board(id) ⇒ Object
- #get_board(id, options = {}) ⇒ Object
- #update_board(params = {}) ⇒ Object
Instance Method Details
#create_board(params = {}) ⇒ Object
9 10 11 |
# File 'lib/pinterest/client/board.rb', line 9 def create_board(params={}) post('boards', params) end |
#delete_board(id) ⇒ Object
17 18 19 |
# File 'lib/pinterest/client/board.rb', line 17 def delete_board(id) delete("boards/#{id}") end |
#get_board(id, options = {}) ⇒ Object
5 6 7 |
# File 'lib/pinterest/client/board.rb', line 5 def get_board(id, ={}) get("boards/#{id}", ) end |
#update_board(params = {}) ⇒ Object
13 14 15 |
# File 'lib/pinterest/client/board.rb', line 13 def update_board(params={}) patch('boards', params) end |