Class: Upay::Address::BillingAddress
- Defined in:
- lib/upay/address/billing_address.rb
Instance Method Summary collapse
Methods inherited from Address
#city, #city=, #country, #country=, #initialize, #phone, #phone=, #postalCode, #postalCode=, #state, #state=, #street1, #street1=, #street2, #street2=, #to_hash
Constructor Details
This class inherits a constructor from Upay::Address::Address
Instance Method Details
#valid? ⇒ Boolean
4 5 6 7 |
# File 'lib/upay/address/billing_address.rb', line 4 def valid? validator = BillingAddressValidator.new validator.valid?(self) end |