Class: Tana::Requests::Node
- Inherits:
-
Dry::Validation::Contract
- Object
- Dry::Validation::Contract
- Tana::Requests::Node
- Defined in:
- lib/tana/requests/node.rb
Overview
Validates a generic node within an API request.
Constant Summary collapse
- TYPES =
%w[boolean date field file plain reference url].freeze
Instance Method Summary collapse
-
#initialize(types: TYPES) ⇒ Node
constructor
A new instance of Node.