Sha256: 1f7ca4c5a6ca0ec1b424f573c432fd69b968f08169bdc7eced485103c5a81522

Contents?: true

Size: 411 Bytes

Versions: 7

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

module RubyLokaliseApi
  module Resources
    class Contributor < Base
      ID_KEY = 'user_id'
      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

7 entries across 7 versions & 1 rubygems

Version Path
ruby-lokalise-api-7.2.0 lib/ruby_lokalise_api/resources/contributor.rb
ruby-lokalise-api-7.1.1 lib/ruby_lokalise_api/resources/contributor.rb
ruby-lokalise-api-7.1.0 lib/ruby_lokalise_api/resources/contributor.rb
ruby-lokalise-api-7.0.0 lib/ruby_lokalise_api/resources/contributor.rb
ruby-lokalise-api-6.2.0 lib/ruby_lokalise_api/resources/contributor.rb
ruby-lokalise-api-6.1.0 lib/ruby_lokalise_api/resources/contributor.rb
ruby-lokalise-api-6.0.0 lib/ruby_lokalise_api/resources/contributor.rb