Class: Quickbooks::Model::TelephoneNumber
- Defined in:
- lib/quickbooks/model/telephone_number.rb
Instance Method Summary collapse
-
#initialize(number = nil) ⇒ TelephoneNumber
constructor
A new instance of TelephoneNumber.
Methods inherited from BaseModel
attribute_names, #attributes, attrs_with_types, #inspect, inspect, reference_attrs, reference_setters, resource_for_collection, resource_for_singular, to_xml_big_decimal, #to_xml_inject_ns, #to_xml_ns
Methods included from Validator
Methods included from Definition
included, #is_name_list_entity?, #is_transaction_entity?
Constructor Details
#initialize(number = nil) ⇒ TelephoneNumber
Returns a new instance of TelephoneNumber.
6 7 8 9 10 |
# File 'lib/quickbooks/model/telephone_number.rb', line 6 def initialize(number = nil) unless number.nil? self.free_form_number = number end end |