Class: BraintreeRails::BillingAddress
- Inherits:
-
Address
- Object
- Address
- BraintreeRails::BillingAddress
show all
- Defined in:
- lib/braintree_rails/billing_address.rb
Constant Summary
Constants inherited
from Address
Address::CountryNames
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Address
delete, #destroy, #ensure_model, find, #full_name, sync_country_name_attributes
Methods included from Model
included
Class Method Details
.braintree_model_name ⇒ Object
3
4
5
|
# File 'lib/braintree_rails/billing_address.rb', line 3
def self.braintree_model_name
superclass.braintree_model_name
end
|
Instance Method Details
7
8
9
|
# File 'lib/braintree_rails/billing_address.rb', line 7
def (errors)
errors.for(:billing_address) || errors.for(:billing)
end
|