Sha256: 843fa5e90da084bce7e1a699be5bf23d9a26547719f6a17a97fad2dacbfae65a

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

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

      class << self
        def endpoint(team_id, team_user_id = nil)
          path_from teams: team_id,
                    users: team_user_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/team_user.rb
ruby-lokalise-api-2.9.0.1 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.9.0 lib/ruby-lokalise-api/resources/team_user.rb