Module: Dropzone::BillingValidations
- Included in:
- Invoice::Validator, Payment::Validator
- Defined in:
- lib/dropzone/message_base.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
19 20 21 22 |
# File 'lib/dropzone/message_base.rb', line 19 def self.included(base) base.validates :receiver_addr, doesnt_equal_attribute: { attribute: :sender_addr }, if: "self.sender_addr" end |