class Readme::Errors
Constants
- ALLOW_ONLY_ERROR
- API_KEY_ERROR
- BUFFER_LENGTH_ERROR
- DEVELOPMENT_ERROR
- LOGGER_ERROR
- MISSING_BLOCK_ERROR
- REJECT_PARAMS_ERROR
Public Class Methods
bad_block_message(result)
click to toggle source
# File lib/readme/errors.rb, line 21 def self.bad_block_message(result) <<~MESSAGE The request could not be sent to Readme. Something went wrong when setting user info. Double check the block configured on the ReadMe middleware. Expected a hash with the shape: { api_key: "Your user api key", label: "Your user label", email: "Your user email" } Received value: #{result} MESSAGE end