README.md in readymade-0.1.3 vs README.md in readymade-0.1.4
- old
+ new
@@ -21,11 +21,37 @@
## Usage
Inherit your components from:
* `Readymade::Response`
* `Readymade::Form`
+* `Readymade::InstantForm`
* `Readymade::Action`
* `Readymade::Operation`
+
+### Readymade::Response
+
+```TODO: add```
+
+### Readymade::Form
+
+```TODO: add```
+
+### Readymade::InstantForm
+
+Permit params and validates presence inline
+
+```ruby
+Readymade::InstantForm.new(my_params, permitted: %i[name phone], required: %i[email]) # permits: name, phone, email; validates on presence: email
+```
+
+### Readymade::Action
+
+```TODO: add```
+
+### Readymade::Operation
+
+```TODO: add```
+
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.