Sha256: c3a68fd1915f6aa0a35f50b13c7cdae8b9dd0355c5ed0550344ed351c8fcbbc8

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true

module Lokalise
  module Resources
    class Translation < Base
      supports :update

      class << self
        def endpoint(project_id, translation_id = nil)
          path_from projects: project_id,
                    translations: translation_id
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-lokalise-api-2.10.0 lib/ruby-lokalise-api/resources/translation.rb
ruby-lokalise-api-2.9.0.1 lib/ruby-lokalise-api/resources/translation.rb
ruby-lokalise-api-2.9.0 lib/ruby-lokalise-api/resources/translation.rb