You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation is setup for working with JSON API's only. To provide more generalised use, it would be nice to implement the ability to register arbitrary parsers based on MIME type.
Potential syntax:
Responsible.parse "text/csv"do |response|
CSV.new response.body || response.body_io
end
Sensible default can ship for out-of-the-box functionality as part of this.
The text was updated successfully, but these errors were encountered:
The current implementation is setup for working with JSON API's only. To provide more generalised use, it would be nice to implement the ability to register arbitrary parsers based on MIME type.
Potential syntax:
Sensible default can ship for out-of-the-box functionality as part of this.
The text was updated successfully, but these errors were encountered: