Sha256: 6eff3bae720b20dbfeda9483403ed67f6003ddd675d4cd92b5290c93dbc00a84
Contents?: true
Size: 1.12 KB
Versions: 8
Compression:
Stored size: 1.12 KB
Contents
# frozen_string_literal: true # # Abstraction over WebMock to reduce duplication # # @author Mikael Henriksson <mikael@zoolutions.se> # @since 0.1.0 # module StubRequests # extends "self" # @!parse extend self extend self # includes "UriFor" and extends "UriFor" # using the API.included callback # @!parse include UriFor # @!parse extend UriFor # includes "API" and extends "API" # using the API.included callback # @!parse include API # @!parse extend API include API # # @!attribute [rw] logger # @return [Logger] the logger to use in the gem attr_accessor :logger # # Allows the gem to be configured # # # @return [Configuration] <description> # # @yieldparam [Configuration] config <description> # @yieldreturn [<type>] <describe what yield should return> def configure yield(config) if block_given? config end # # Contains gem configuration # # # @return [Configuration] # def config @config ||= Configuration.new end # # The current version of the gem # # # @return [String] version string, `"1.0.0"` # def version VERSION end end
Version data entries
8 entries across 8 versions & 1 rubygems