lib/nipap/configurable.rb
# Convenience method to allow configuration options to be set in a block
#
# @raise [Nipap::Error::ConfigurationError] Error is raised when supplied
#   hermes credentials are not a String or Symbol.
Convenience method to allow configuration options to be set in a block
Convenience method to allow configuration options to be set in a block
def configure
      yield self
      validate_credential_type!
      self
    end
def configure yield self validate_credential_type! self end
Convenience method to allow configuration options to be set in a block
Convenience method to allow configuration options to be set in a block
[Nipap::Error::ConfigurationError] Error is raised when supplied hermes credentials are not a String or Symbol.
[ Nipap :: Error :: ConfigurationError ] Error is raised when supplied hermes credentials are not a String or Symbol .