Sha256: edd5641148ecba80c4174944b3b19c5543f5df3bcc037f22606899079ef7cd11

Contents?: true

Size: 381 Bytes

Versions: 3

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

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

      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-5.0.0 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-4.5.1 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-4.5.0 lib/ruby-lokalise-api/resources/team_user.rb