Sha256: 0588574c3fcb6cb6074480a62798aa07a366343ba07823d4c29796ed15d215e3

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

module Lokalise
  module Resources
    class TranslationProvider < Base
      supports [:reload_data, '', :find]
      ID_KEY = 'provider_id'

      class << self
        def endpoint(team_id, provider_id = nil)
          path_from teams: team_id,
                    translation_providers: provider_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/translation_provider.rb
ruby-lokalise-api-4.5.1 lib/ruby-lokalise-api/resources/translation_provider.rb
ruby-lokalise-api-4.5.0 lib/ruby-lokalise-api/resources/translation_provider.rb