Sha256: 1f4fbb6af8ceafaae9a9a2bb7beedc90d7c27058ce31a86edb026f109f3ce3b8
Contents?: true
Size: 1.42 KB
Versions: 2
Compression:
Stored size: 1.42 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_printer' require 'dox/printers/resource_group_printer' require 'dox/printers/resource_printer' require 'dox/util/http' 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 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dox-1.3.0 | lib/dox.rb |
dox-1.2.0 | lib/dox.rb |