Sha256: 3bd60eb99cdaa7741f6e5c54578fb9ba2e1f63c793007978c8846bda6653e07c
Contents?: true
Size: 660 Bytes
Versions: 20
Compression:
Stored size: 660 Bytes
Contents
# encoding: utf-8 module Nimbu #:nodoc # Raised when invalid options are passed to a request body module Error class UnknownValue < ClientError def initialize(key, value, permitted) super( generate_message( :problem => "Wrong value of '#{value}' for the parameter: #{key} provided for this request.", :summary => "Nimbu gem checks the request parameters passed to ensure that Nimbu api is not hit unnecessairly and fails fast.", :resolution => "Permitted values are: #{permitted}, make sure these are the ones you are using" ) ) end end end # Error end # Nimbu
Version data entries
20 entries across 20 versions & 1 rubygems