Class: InstagramConnect::RateLimiter::Outcome

Inherits:
Struct
  • Object
show all
Defined in:
lib/instagram_connect/rate_limiter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#allowedObject

Returns the value of attribute allowed

Returns:

  • (Object)

    the current value of allowed



21
22
23
# File 'lib/instagram_connect/rate_limiter.rb', line 21

def allowed
  @allowed
end

#retry_afterObject

Returns the value of attribute retry_after

Returns:

  • (Object)

    the current value of retry_after



21
22
23
# File 'lib/instagram_connect/rate_limiter.rb', line 21

def retry_after
  @retry_after
end

Instance Method Details

#allowed?Boolean

Returns:

  • (Boolean)


22
# File 'lib/instagram_connect/rate_limiter.rb', line 22

def allowed? = allowed