Class DataObjects::Transaction
In: lib/data_objects/transaction.rb
Parent: Object

Methods

Constants

HOST = "#{Socket::gethostbyname(Socket::gethostname)[0]}" rescue "localhost"   The host name. Note, this relies on the host name being configured and resolvable using DNS

Attributes

connection  [R]  The connection object allocated for this transaction
id  [R]  A unique ID for this transaction

Public Class methods

Instantiate the Transaction subclass that‘s appropriate for this uri scheme

Creates a Transaction bound to a connection for the given DataObjects::URI

Public Instance methods

Close the connection for this Transaction

[Validate]