lib/ruby_lokalise_api/resources/screenshot.rb in ruby-lokalise-api-7.2.0 vs lib/ruby_lokalise_api/resources/screenshot.rb in ruby-lokalise-api-8.0.0.rc1
- old
+ new
@@ -1,17 +1,9 @@
# frozen_string_literal: true
module RubyLokaliseApi
module Resources
class Screenshot < Base
- ID_KEY = 'screenshot_id'
- supports :update, :destroy, [:reload_data, '', :find]
-
- class << self
- def endpoint(project_id, screenshot_id = nil)
- path_from projects: project_id,
- screenshots: screenshot_id
- end
- end
+ MAIN_PARAMS = %i[project_id screenshot_id].freeze
end
end
end