Sha256: 03a9b7177feecf0fb3995f76e5fd13143a06143302d42790dd66a42f27f282ca
Contents?: true
Size: 683 Bytes
Versions: 57
Compression:
Stored size: 683 Bytes
Contents
# encoding: utf-8 module Github #:nodoc # Raised when invalid options are passed to a request body module Error class RequiredParams < ClientError def initialize(provided, required) super( generate_message( :problem => "Missing required parameters: #{provided.keys.join(', ')} provided for this request.", :summary => "Github gem checks the request parameters passed to ensure that github api is not hit unnecessairly and to fail fast.", :resolution => "Required parameters are: #{required.join(', ')}, make sure these are the ones you are using" ) ) end end end # Error end # Github
Version data entries
57 entries across 57 versions & 1 rubygems