Sha256: 94dd081519840a90e3f77d6e4c3d226dcdf02aba7d458ccb9443cddbc893a7e1

Contents?: true

Size: 406 Bytes

Versions: 3

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

module Lokalise
  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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-lokalise-api-5.0.0 lib/ruby-lokalise-api/resources/screenshot.rb
ruby-lokalise-api-4.5.1 lib/ruby-lokalise-api/resources/screenshot.rb
ruby-lokalise-api-4.5.0 lib/ruby-lokalise-api/resources/screenshot.rb