Module: Favorites
- Included in:
- CRM
- Defined in:
- lib/user/crm/favorites.rb
Instance Method Summary collapse
- #get_favorites(options = nil) ⇒ Object
- #update_favorites(id, data) ⇒ Object
-
#update_multiple_favorites(data) ⇒ Object
Favorites TODO: NOT CHECKED, NO DATA IN DB.
Instance Method Details
#get_favorites(options = nil) ⇒ Object
13 14 15 |
# File 'lib/user/crm/favorites.rb', line 13 def get_favorites( = nil) @client.raw('get', '/crm/favorites', ) end |
#update_favorites(id, data) ⇒ Object
17 18 19 |
# File 'lib/user/crm/favorites.rb', line 17 def update_favorites(id, data) @client.raw('put', "/crm/favorites/#{id}", nil, data) end |
#update_multiple_favorites(data) ⇒ Object
Favorites
TODO: NOT CHECKED, NO DATA IN DB
9 10 11 |
# File 'lib/user/crm/favorites.rb', line 9 def update_multiple_favorites(data) @client.raw('put', '/crm/favorites', nil, data) end |