Class: Workarea::Payment::Address

Inherits:
Address
  • Object
show all
Defined in:
app/models/workarea/payment/address.rb

Constant Summary

Constants inherited from Address

Address::ATTRIBUTES_FOR_LENGTH_VALIDATION

Instance Method Summary collapse

Methods inherited from Address

#address_eql?, #as_json, #country=, #phone_number=, #po_box?, #region_name

Methods included from ApplicationDocument

#releasable?

Methods included from Sidekiq::Callbacks

assert_valid_config!, async, disable, enable, inline, #run_callbacks

Methods included from Mongoid::Document

#embedded_children

Instance Method Details

#allow_po_box?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'app/models/workarea/payment/address.rb', line 4

def allow_po_box?
  Workarea.config.allow_payment_address_po_box
end