Class: Quickbooks::Model::AttachableRef

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/quickbooks/model/attachable_ref.rb

Instance Method Summary collapse

Methods inherited from BaseModel

#as_json, 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

#line_item_size

Methods included from Definition

included, #is_name_list_entity?, #is_transaction_entity?

Constructor Details

#initialize(an_entity_ref = nil) ⇒ AttachableRef

Returns a new instance of AttachableRef.



14
15
16
17
18
# File 'lib/quickbooks/model/attachable_ref.rb', line 14

def initialize(an_entity_ref = nil)
  if an_entity_ref
    self.entity_ref = an_entity_ref
  end
end