Sha256: c55210aefbac5b9d811992446b29045cf6fee7a048c7bbbb0826d145790da728
Contents?: true
Size: 720 Bytes
Versions: 4
Compression:
Stored size: 720 Bytes
Contents
module QBFC module Modifiable # Extend initialize of including classes to set up a Mod Request # if the record is existing. def initialize(*args) super unless @new_record setup_mod_request end end # Setup a Mod Request for this object and attach it # to the ole object. def setup_mod_request @setter = QBFC::Request.new(@sess, "#{self.qb_name}Mod") if self.kind_of?(List) @setter.list_id = id else # Transaction @setter.txn_id = id end @setter.edit_sequence = @ole.edit_sequence @ole.setter = @setter.ole_object end private :setup_mod_request end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
jm81-qbfc-0.3.0 | lib/qbfc/modifiable.rb |
qbfc-0.3.0 | lib/qbfc/modifiable.rb |
qbfc-0.1.0-x86-mswin32-60 | lib/qbfc/modifiable.rb |
qbfc-0.2.0-x86-mswin32-60 | lib/qbfc/modifiable.rb |