Class: Transport::JSON::RequestBuilder
- Inherits:
-
Object
- Object
- Transport::JSON::RequestBuilder
- Includes:
- Common::RequestBuilder
- Defined in:
- lib/transport/json/request_builder.rb
Overview
Builder for the json transport layer requests.
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
Methods included from Common::RequestBuilder
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
12 13 14 |
# File 'lib/transport/json/request_builder.rb', line 12 def request @request end |
Instance Method Details
#perform ⇒ Object
14 15 16 17 18 19 |
# File 'lib/transport/json/request_builder.rb', line 14 def perform set_headers convert_parameters_to_json convert_body_to_json build_http_request end |