README.md in koine-attributes-0.2.3 vs README.md in koine-attributes-0.3.0
- old
+ new
@@ -66,9 +66,15 @@
# or
attribute :name, :string, ->(adapter) { adapter.with_default_value('guest') }
end
```
+## Adapter's methods
+
+- with_default_value(default, &block)
+- with_nil_value(value = nil, &block)
+
+
Also, a constructor can be created by the API
```ruby
class Person
include Koine::Attributes