Sha256: 0800595055d61a2a1238af173121c4d2c008c8ba7cb6babaf768b70e90dd715d
Contents?: true
Size: 1.67 KB
Versions: 2
Compression:
Stored size: 1.67 KB
Contents
require 'active_support/concern' require 'active_support/core_ext/string' require 'forwardable' require 'dox/config' require 'dox/dsl/attr_proxy' require 'dox/dsl/action' require 'dox/dsl/documentation' require 'dox/dsl/resource_group' require 'dox/dsl/resource' require 'dox/dsl/syntax' require 'dox/entities/action' require 'dox/entities/example' require 'dox/entities/resource_group' require 'dox/entities/resource' require 'dox/errors/file_not_found_error' require 'dox/errors/folder_not_found_error' require 'dox/errors/invalid_action_error' require 'dox/errors/invalid_resource_error' require 'dox/errors/invalid_resource_group_error' require 'dox/formatter' require 'dox/formatters/base' require 'dox/formatters/json' require 'dox/formatters/multipart' require 'dox/formatters/plain' require 'dox/formatters/xml' require 'dox/printers/base_printer' require 'dox/printers/action_printer' require 'dox/printers/document_printer' require 'dox/printers/example_request_printer' require 'dox/printers/example_response_printer' require 'dox/printers/resource_group_printer' require 'dox/printers/resource_printer' require 'dox/util/http' require 'dox/util/file' require 'dox/version' module Dox Error = Class.new(StandardError) def self.configure yield(config) if block_given? end def self.config @config ||= Dox::Config.new end DEFAULT_HEADERS_WHITELIST = ['Accept', 'Content-Type'].freeze def self.full_headers_whitelist (config.headers_whitelist.to_a + DEFAULT_HEADERS_WHITELIST).uniq end RSpec.configure do |config| config.after(:each, :dox) do |example| example.metadata[:request] = request example.metadata[:response] = response end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dox-2.5.0 | lib/dox.rb |
dox-2.4.0 | lib/dox.rb |