Class: Treaty::Request::Entity
- Inherits:
-
Object
- Object
- Treaty::Request::Entity
- 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.