Class: Mountebank::SymbolizeKeys
- Inherits:
-
Faraday::Middleware
- Object
- Faraday::Middleware
- Mountebank::SymbolizeKeys
- Defined in:
- lib/mountebank/helper.rb
Instance Method Summary collapse
- #call(environment) ⇒ Object
-
#initialize(app = nil, options = {}) ⇒ SymbolizeKeys
constructor
A new instance of SymbolizeKeys.
Constructor Details
#initialize(app = nil, options = {}) ⇒ SymbolizeKeys
Returns a new instance of SymbolizeKeys.
21 22 23 24 25 |
# File 'lib/mountebank/helper.rb', line 21 def initialize(app = nil, = {}) super(app) @options = @content_types = Array([:content_type]) end |