class CloudParty::Errors::MethodNotAllowedError

Page/Endpoint doesn't exist

Public Class Methods

error_string() click to toggle source
# File lib/cloud_party/exceptions/request_errors/method_not_allowed_error.rb, line 12
      def self.error_string
        <<~HEREDOC
          There was a '429 -- Too many requests' error.
          You've hit the rate limit of Cloudflare
        HEREDOC
      end
extra_string() click to toggle source
# File lib/cloud_party/exceptions/request_errors/method_not_allowed_error.rb, line 19
      def self.extra_string
        <<~HEREDOC
          VERB: #{@method}

        HEREDOC
      end
new(obj:, method:, response:, endpoint: nil, code: 405) click to toggle source
Calls superclass method CloudParty::Errors::RequestError::new
# File lib/cloud_party/exceptions/request_errors/method_not_allowed_error.rb, line 8
def initialize(obj:, method:, response:, endpoint: nil, code: 405)
  super
end