Class: VersacommerceAPI::BillingAddres

Inherits:
Base show all
Defined in:
lib/versacommerce_api/resources/billing_addres.rb

Instance Method Summary collapse

Methods inherited from Base

activate_session, all, clear_session, headers, root!

Methods included from Countable

#count

Methods inherited from ActiveResource::Base

build, delete, headers

Instance Method Details

#fullnameObject



5
6
7
# File 'lib/versacommerce_api/resources/billing_addres.rb', line 5

def fullname
  [firstname, lastname].delete_if(&:blank?).compact * " "
end