Module: Yext::Api::Concerns::RateLimits

Included in:
AdministrativeApi, KnowledgeApi, LiveApi
Defined in:
lib/yext/api/concerns/rate_limits.rb

Overview

This module adds attributes to a module for saving and setting the rate limits returned from the Yext API.

Instance Attribute Summary collapse

Instance Attribute Details

#last_dataObject

Returns the value of attribute last_data.



9
10
11
# File 'lib/yext/api/concerns/rate_limits.rb', line 9

def last_data
  @last_data
end

#last_metaObject

Returns the value of attribute last_meta.



9
10
11
# File 'lib/yext/api/concerns/rate_limits.rb', line 9

def last_meta
  @last_meta
end

#last_statusObject

Returns the value of attribute last_status.



9
10
11
# File 'lib/yext/api/concerns/rate_limits.rb', line 9

def last_status
  @last_status
end

#rate_limit_limitObject (readonly)

Returns the value of attribute rate_limit_limit.



9
10
11
# File 'lib/yext/api/concerns/rate_limits.rb', line 9

def rate_limit_limit
  @rate_limit_limit
end

#rate_limit_remainingObject (readonly)

Returns the value of attribute rate_limit_remaining.



9
10
11
# File 'lib/yext/api/concerns/rate_limits.rb', line 9

def rate_limit_remaining
  @rate_limit_remaining
end

#rate_limit_reset_atObject (readonly)

Returns the value of attribute rate_limit_reset_at.



9
10
11
# File 'lib/yext/api/concerns/rate_limits.rb', line 9

def rate_limit_reset_at
  @rate_limit_reset_at
end