Class: Faraday::Request::ReadOnly
- Inherits:
-
Object
- Object
- Faraday::Request::ReadOnly
- Defined in:
- lib/yao/faraday_middlewares.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ ReadOnly
constructor
A new instance of ReadOnly.
Constructor Details
#initialize(app) ⇒ ReadOnly
Returns a new instance of ReadOnly.
35 36 37 |
# File 'lib/yao/faraday_middlewares.rb', line 35 def initialize(app) @app = app end |