Method: Echowrap::Configurable#configure

Defined in:
lib/echowrap/configurable.rb

#configure {|_self| ... } ⇒ Object

Convenience method to allow configuration options to be set in a block

Yields:

  • (_self)

Yield Parameters:

Raises:



29
30
31
32
33
# File 'lib/echowrap/configurable.rb', line 29

def configure
  yield self
  validate_credential_type!
  self
end