Class: Pragma::Contract::Base
- Inherits:
-
Reform::Form
- Object
- Reform::Form
- Pragma::Contract::Base
- Includes:
- Coercion
- Defined in:
- lib/pragma/contract/base.rb
Overview
This is the base contract that all of your resource-specific contracts should inherit from.
It’s just an extension of Reform::Form with some helper methods for coercion.