Module: NeverBounce::API::Feature::RequireAttr
- Defined in:
- lib/never_bounce/api/feature/require_attr.rb
Overview
Provide attribute validation method(s) to the owner class.
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.load(owner) ⇒ nil
10 11 12 13 |
# File 'lib/never_bounce/api/feature/require_attr.rb', line 10 def self.load(owner) return if owner < InstanceMethods owner.send(:include, InstanceMethods) end |