Class: Treaty::Request::Entity

Inherits:
Object
  • Object
show all
Includes:
Attribute::DSL
Defined in:
lib/treaty/request/entity.rb

Overview

Entity class for request definitions. Attributes are required by default.

This class is used internally when defining request blocks. When you write a request block, Treaty creates an anonymous class based on Request::Entity.

Method Summary

Methods included from Attribute::DSL

included