Sha256: 4de808dd95bbca1714bf2cbae053d9c3cb653f438dbc0a9a96c02b90f1958dfd

Contents?: true

Size: 401 Bytes

Versions: 8

Compression:

Stored size: 401 Bytes

Contents

# frozen_string_literal: true

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

      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

8 entries across 8 versions & 1 rubygems

Version Path
ruby-lokalise-api-4.4.0 lib/ruby-lokalise-api/resources/contributor.rb
ruby-lokalise-api-4.3.1 lib/ruby-lokalise-api/resources/contributor.rb
ruby-lokalise-api-4.3.0 lib/ruby-lokalise-api/resources/contributor.rb
ruby-lokalise-api-4.2.0 lib/ruby-lokalise-api/resources/contributor.rb
ruby-lokalise-api-4.1.0 lib/ruby-lokalise-api/resources/contributor.rb
ruby-lokalise-api-4.0.0 lib/ruby-lokalise-api/resources/contributor.rb
ruby-lokalise-api-3.1.0 lib/ruby-lokalise-api/resources/contributor.rb
ruby-lokalise-api-3.0.0 lib/ruby-lokalise-api/resources/contributor.rb