Module: ResponseMate

Defined in:
lib/response_mate/core.rb,
lib/response_mate.rb,
lib/response_mate/cli.rb,
lib/response_mate/version.rb,
lib/response_mate/exporter.rb,
lib/response_mate/recorder.rb

Overview

The main module of the tool contains configuration code and some constants

Defined Under Namespace

Modules: Commands, Exporters Classes: CLI, Configuration, Connection, Environment, Exporter, Inspector, KeysNotFound, Manifest, ManifestMissing, OutputDirError, Recorder, Request, Tape

Constant Summary collapse

HTTP_METHODS =

Methods handled by response_mate

Faraday::Connection::METHODS
VERSION =

Gem version

'0.4.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



22
23
24
# File 'lib/response_mate/core.rb', line 22

def configuration
  @configuration
end

Class Method Details

.setup {|configuration| ... } ⇒ Object

Initializer method to set configuration values

Yields:



25
26
27
28
# File 'lib/response_mate/core.rb', line 25

def setup
  self.configuration ||= Configuration.new
  yield(configuration) if block_given?
end