Class: Sem4r::BillingAddress
- Inherits:
-
Object
- Object
- Sem4r::BillingAddress
- Includes:
- Sem4rSoap::SoapAttributes
- Defined in:
- lib/sem4r/v13_account/billing_address.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(&block) ⇒ BillingAddress
constructor
A new instance of BillingAddress.
- #to_s ⇒ Object
Methods included from Sem4rSoap::SoapAttributes
#_from_element, #_to_s, #_to_xml, included
Constructor Details
#initialize(&block) ⇒ BillingAddress
Returns a new instance of BillingAddress.
41 42 43 44 45 |
# File 'lib/sem4r/v13_account/billing_address.rb', line 41 def initialize(&block) if block_given? block.arity < 1 ? instance_eval(&block) : block.call(self) end end |
Class Method Details
.from_element(*args) ⇒ Object
47 48 49 |
# File 'lib/sem4r/v13_account/billing_address.rb', line 47 def self.from_element(*args) _from_element(*args) end |
Instance Method Details
#to_s ⇒ Object
51 52 53 |
# File 'lib/sem4r/v13_account/billing_address.rb', line 51 def to_s "#{@company_name} #{@address_line1} #{@address_line2} #{@city}" end |