Sha256: 133fb3f804e37132f84a54a15b78a62a25704f02146113f90041044880289a9b

Contents?: true

Size: 388 Bytes

Versions: 7

Compression:

Stored size: 388 Bytes

Contents

# frozen_string_literal: true

module RubyLokaliseApi
  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

7 entries across 7 versions & 1 rubygems

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