Module: Fictium
- Defined in:
- lib/fictium.rb,
lib/fictium/rspec.rb,
lib/fictium/engine.rb,
lib/fictium/railtie.rb,
lib/fictium/version.rb,
lib/fictium/poros/model.rb,
lib/fictium/poros/action.rb,
lib/fictium/poros/example.rb,
lib/fictium/rspec/actions.rb,
lib/fictium/poros/document.rb,
lib/fictium/poros/resource.rb,
lib/fictium/rspec/examples.rb,
lib/fictium/rspec/resources.rb,
lib/fictium/rspec/proxies/base.rb,
lib/fictium/configurations/info.rb,
lib/fictium/rspec/proxy_handler.rb,
lib/fictium/rspec/proxies/action.rb,
lib/fictium/rspec/proxies/example.rb,
lib/fictium/configurations/postman.rb,
lib/fictium/poros/postman_metadata.rb,
lib/fictium/rspec/autocomplete/action.rb,
lib/fictium/rspec/autocomplete/params.rb,
lib/fictium/rspec/autocomplete/example.rb,
lib/fictium/evaluators/schema_evaluator.rb,
lib/fictium/rspec/autocomplete/resource.rb,
lib/fictium/configurations/api_blueprint.rb,
lib/fictium/configurations/configuration.rb,
lib/fictium/evaluators/postman_evaluator.rb,
lib/fictium/exporters/postman/v2_exporter.rb,
lib/fictium/evaluators/parameter_evaluator.rb,
lib/fictium/exporters/open_api/v3_exporter.rb,
lib/fictium/exporters/api_blueprint_exporter.rb,
lib/fictium/exporters/postman/v2_exporter/body_formatter.rb,
lib/fictium/exporters/postman/v2_exporter/info_formatter.rb,
lib/fictium/exporters/postman/v2_exporter/item_formatter.rb,
lib/fictium/exporters/open_api/v3_exporter/path_formatter.rb,
lib/fictium/exporters/open_api/v3_exporter/path_generator.rb,
lib/fictium/exporters/open_api/v3_exporter/param_formatter.rb,
lib/fictium/exporters/postman/v2_exporter/action_formatter.rb,
lib/fictium/exporters/postman/v2_exporter/folder_formatter.rb,
lib/fictium/exporters/postman/v2_exporter/header_formatter.rb,
lib/fictium/exporters/api_blueprint_exporter/base_formatter.rb,
lib/fictium/exporters/postman/v2_exporter/request_formatter.rb,
lib/fictium/exporters/open_api/v3_exporter/content_formatter.rb,
lib/fictium/exporters/open_api/v3_exporter/example_formatter.rb,
lib/fictium/exporters/postman/v2_exporter/metadata_formatter.rb,
lib/fictium/exporters/postman/v2_exporter/response_formatter.rb,
lib/fictium/exporters/api_blueprint_exporter/action_formatter.rb,
lib/fictium/exporters/api_blueprint_exporter/footer_formatter.rb,
lib/fictium/exporters/api_blueprint_exporter/header_formatter.rb,
lib/fictium/exporters/api_blueprint_exporter/example_formatter.rb,
lib/fictium/exporters/api_blueprint_exporter/resource_formatter.rb
Defined Under Namespace
Modules: OpenApi, Postman, RSpec
Classes: Action, ApiBlueprintExporter, Configuration, Document, Engine, Example, Model, ParameterEvaluator, PostmanEvaluator, PostmanMetadata, Railtie, Resource, SchemaEvaluator
Constant Summary
collapse
- VERSION =
'0.4.1'.freeze
- RAILS_MIN_VERSION =
'>= 5.1'.freeze
- RAILS_MAX_VERSION =
'< 6.2'.freeze
Class Method Summary
collapse
Class Method Details
25
26
27
|
# File 'lib/fictium.rb', line 25
def configure
yield configuration
end
|
.validate_config! ⇒ Object
29
30
31
|
# File 'lib/fictium.rb', line 29
def validate_config!
raise missing_fixtures if configuration.fixture_path.blank?
end
|