Method: X::RateLimit#type

Defined in:
lib/x/rate_limit.rb

#typeString

The type of rate limit

Examples:

Get or set the rate limit type

rate_limit.type = "rate-limit"

Returns:

  • (String)

    the type of rate limit



19
20
21
# File 'lib/x/rate_limit.rb', line 19

def type
  @type
end