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
10 11 12 |
# File 'lib/user/crm/favorites.rb', line 10 def get_favorites( = nil) return @client.raw("get", "/crm/favorites", ) end |
#update_favorites(id, data) ⇒ Object
14 15 16 |
# File 'lib/user/crm/favorites.rb', line 14 def update_favorites(id, data) return @client.raw("put", "/crm/favorites/#{id}", nil, data) end |
#update_multiple_favorites(data) ⇒ Object
Favorites #TODO: NOT CHECKED, NO DATA IN DB
6 7 8 |
# File 'lib/user/crm/favorites.rb', line 6 def update_multiple_favorites(data) return @client.raw("put", "/crm/favorites", nil, data) end |