Class: Relay::Validators::MCP
- Inherits:
-
Object
- Object
- Relay::Validators::MCP
- Defined in:
- app/validators/mcp.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(model) ⇒ MCP
constructor
A new instance of MCP.
Constructor Details
#initialize(model) ⇒ MCP
Returns a new instance of MCP.
5 6 7 |
# File 'app/validators/mcp.rb', line 5 def initialize(model) @model = model end |
Instance Method Details
#call ⇒ Object
9 10 11 12 13 |
# File 'app/validators/mcp.rb', line 9 def call validate_data validate_transport_fields validate_preset_fields end |