class Spaceship::TooManyRequestsError
Raised when 429 is received from App
Store Connect
Attributes
Public Class Methods
Source
# File spaceship/lib/spaceship/errors.rb, line 66 def initialize(resp_hash) headers = resp_hash[:response_headers] || {} @retry_after = (headers['retry-after'] || 60).to_i @rate_limit_user = headers['x-daiquiri-rate-limit-user'] message = 'Apple 429 detected' message += " - #{rate_limit_user}" if rate_limit_user super(message) end
Calls superclass method
Public Instance Methods
Source
# File spaceship/lib/spaceship/errors.rb, line 75 def show_github_issues false end