Class: BacklogKit::Response::FileParser
- Inherits:
-
Middleware
- Object
- Faraday::Response::Middleware
- Middleware
- BacklogKit::Response::FileParser
- Defined in:
- lib/backlog_kit/response/file_parser.rb
Instance Attribute Summary
Attributes inherited from Middleware
Instance Method Summary collapse
Instance Method Details
#on_complete(env) ⇒ Object
7 8 9 10 |
# File 'lib/backlog_kit/response/file_parser.rb', line 7 def on_complete(env) super env.body = BacklogKit::ResourceFile.new(decoded_filename, body) if file? end |