Sha256: 779622a94cd2d152cb9d5bded12043e8b78f8cb1354e1793197f6dd25fcce520

Contents?: true

Size: 325 Bytes

Versions: 12

Compression:

Stored size: 325 Bytes

Contents

module Lokalise
  module Resources
    class TeamUser < Base
      ID_KEY = 'user'.freeze
      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

12 entries across 12 versions & 1 rubygems

Version Path
ruby-lokalise-api-2.8.0 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.7.0 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.6.1 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.6.0 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.5.0 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.4.0 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.3.0 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.2.0 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.1.1 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.1.0 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.0.1 lib/ruby-lokalise-api/resources/team_user.rb
ruby-lokalise-api-2.0.0 lib/ruby-lokalise-api/resources/team_user.rb