Module: FileSv
- Defined in:
- lib/file_sv.rb,
lib/file_sv/version.rb
Overview
Create Service Virtualization from a simple file system
Defined Under Namespace
Classes: Error, FileNameError
Constant Summary collapse
- LOGLEVELS =
%w[DEBUG INFO WARN ERROR FATAL UNKNOWN].freeze
- VERSION =
"0.3.1"
Class Attribute Summary collapse
-
.log_type ⇒ Object
Logger type.
-
.logger ⇒ Logger
Logger.
Class Method Summary collapse
-
.rest_methods ⇒ Hash
Mapping of REST method names to setting classes.
Class Attribute Details
.log_type ⇒ Object
Returns Logger type.
47 48 49 |
# File 'lib/file_sv.rb', line 47 def log_type @log_type end |
.logger ⇒ Logger
Returns Logger.
44 45 46 |
# File 'lib/file_sv.rb', line 44 def logger @logger end |
Class Method Details
.rest_methods ⇒ Hash
Returns Mapping of REST method names to setting classes.
36 37 38 39 40 41 |
# File 'lib/file_sv.rb', line 36 def rest_methods { get: GetSettings, post: PostSettings, patch: PatchSettings, options: OptionsSettings, delete: DeleteSettings, put: PutSettings } end |