Class: Tana::Requests::Add
- Inherits:
-
Dry::Validation::Contract
- Object
- Dry::Validation::Contract
- Tana::Requests::Add
- Defined in:
- lib/tana/requests/add.rb
Overview
Validates an API add request.
Constant Summary collapse
- TARGETS =
["INBOX", "SCHEMA", /\A[0-9a-z\-_]{12}\Z/i].freeze
Instance Method Summary collapse
-
#initialize(targets: TARGETS) ⇒ Add
constructor
A new instance of Add.