Class: Evil::Client

Inherits:
Object
  • Object
show all
Extended by:
DSL
Defined in:
lib/evil/client/model.rb,
lib/evil/client.rb,
lib/evil/client/dsl.rb,
lib/evil/client/operation.rb,
lib/evil/client/connection.rb,
lib/evil/client/middleware.rb,
lib/evil/client/connection/net_http.rb

Overview

Base structure for models describing parts of requests and responses

The initializer accepts a hash with symbol/string keys, from which it takes and validates necessary options.

The method [#to_h] converts nested data to hash with symbolic keys at any level of nesting.

Defined Under Namespace

Modules: DSL Classes: Connection, Middleware, Model, Operation

Constant Summary

Constants included from DSL

DSL::DEFAULT_MIDDLEWARE

Method Summary

Methods included from DSL

base_url, connection, extended, new, operation, scope, settings