Sha256: ae4dc9cd8448a995740b5e6be8b7d447d684268cf447937336980580d5bbceba

Contents?: true

Size: 379 Bytes

Versions: 12

Compression:

Stored size: 379 Bytes

Contents

module Lokalise
  module Resources
    class ProjectLanguage < Base
      DATA_KEY = 'Language'.freeze
      ID_KEY = 'lang'.freeze
      supports :update, :destroy

      class << self
        def endpoint(project_id, language_id = nil)
          path_from projects: project_id,
                    languages: language_id
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ruby-lokalise-api-2.8.0 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.7.0 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.6.1 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.6.0 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.5.0 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.4.0 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.3.0 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.2.0 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.1.1 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.1.0 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.0.1 lib/ruby-lokalise-api/resources/project_language.rb
ruby-lokalise-api-2.0.0 lib/ruby-lokalise-api/resources/project_language.rb