Class: Force::Middleware::Mashify
- Inherits:
-
Force::Middleware
- Object
- Faraday::Middleware
- Force::Middleware
- Force::Middleware::Mashify
- Defined in:
- lib/force/middleware/mashify.rb
Overview
Middleware the converts sobject records from JSON into Force::SObject objects and collections of records into Force::Collection objects.
Instance Method Summary collapse
Methods inherited from Force::Middleware
#client, #connection, #initialize
Constructor Details
This class inherits a constructor from Force::Middleware
Instance Method Details
#body ⇒ Object
12 13 14 |
# File 'lib/force/middleware/mashify.rb', line 12 def body @env[:body] end |