Class: Seahorse::Client::Plugins::JsonSimple

Inherits:
Seahorse::Client::Plugin show all
Defined in:
lib/seahorse/client/plugins/json_simple.rb

Overview

This plugin performs two trivial translations:

  • The request parameters are serialized as JSON for the request body

  • The response body is deserialized as JSON for the response data

No attempt is made to extract errors from the HTTP response body. Parsing the response only happens for a successful response.

Defined Under Namespace

Classes: Handler

Method Summary

Methods inherited from Seahorse::Client::Plugin

#add_handlers, #add_options, after_initialize, #after_initialize, after_initialize_hooks, #before_initialize, before_initialize, before_initialize_hooks, handlers, option, options

Methods included from HandlerBuilder

#handle, #handle_request, #handle_response, #handler_for, #new_handler