Sha256: d1135b850ac20d6dcdef9ec666025f1aa019ed6909a80c494b033787629e0ea8

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

module Lokalise
  module Resources
    class Contributor < Base
      ID_KEY = 'user'
      supports :update, :destroy

      class << self
        def endpoint(project_id, contributor_id = nil)
          path_from projects: project_id,
                    contributors: contributor_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/contributor.rb
ruby-lokalise-api-2.9.0.1 lib/ruby-lokalise-api/resources/contributor.rb
ruby-lokalise-api-2.9.0 lib/ruby-lokalise-api/resources/contributor.rb