class Repro::Client
Constants
- VERSION
Attributes
token[RW]
Public Class Methods
new(token)
click to toggle source
# File lib/repro/client.rb, line 16 def initialize(token) @token = token end
Public Instance Methods
rate_limit()
click to toggle source
# File lib/repro/client.rb, line 20 def rate_limit Repro::Response::RateLimit.from_response(last_response) end
retry_after()
click to toggle source
# File lib/repro/client.rb, line 24 def retry_after last_response && last_response.headers["Retry-After"] end