class Quiver::Mappers::Transaction

Attributes

rollback[RW]

Public Class Methods

new() click to toggle source
# File lib/quiver/mappers.rb, line 14
def initialize
  self.rollback = false
end

Public Instance Methods

good?() click to toggle source
# File lib/quiver/mappers.rb, line 26
def good?
  !rollback
end
rollback!() click to toggle source
# File lib/quiver/mappers.rb, line 18
def rollback!
  self.rollback = true
end
rollback?() click to toggle source
# File lib/quiver/mappers.rb, line 22
def rollback?
  rollback
end