lib/smartsheet/endpoints/favorites/favorites.rb in smartsheet-1.0.0.beta.2 vs lib/smartsheet/endpoints/favorites/favorites.rb in smartsheet-1.0.0
- old
+ new
@@ -1,6 +1,8 @@
module Smartsheet
+ # Favorites Endpoints
+ # @see https://smartsheet-platform.github.io/api-docs/?ruby#favorites API Favorites Docs
class Favorites
attr_reader :client
private :client
def initialize(client)
@@ -53,11 +55,11 @@
)
end
def remove_sight(sight_id:, params: {}, header_overrides: {})
remove_favorite(
- url: ['sights', :sight_id],
+ url: ['sight', :sight_id],
params: params,
header_overrides: header_overrides,
sight_id: sight_id
)
end
@@ -107,10 +109,10 @@
)
end
def remove_sights(sight_ids:, params: {}, header_overrides: {})
remove_favorites(
- url: ['sights'],
+ url: ['sight'],
params: params,
header_overrides: header_overrides,
object_ids: sight_ids
)
end
\ No newline at end of file