Module: Octopus::Persistence

Defined in:
lib/octopus/persistence.rb

Instance Method Summary collapse

Instance Method Details

#decrement!(*args) ⇒ Object


39
40
41
# File 'lib/octopus/persistence.rb', line 39

def decrement!(*args)
  run_on_shard { super }
end

#deleteObject


19
20
21
# File 'lib/octopus/persistence.rb', line 19

def delete
  run_on_shard { super }
end

#destroyObject


23
24
25
# File 'lib/octopus/persistence.rb', line 23

def destroy
  run_on_shard { super }
end

#increment!(*args) ⇒ Object


35
36
37
# File 'lib/octopus/persistence.rb', line 35

def increment!(*args)
  run_on_shard { super }
end

#reload(*args) ⇒ Object


15
16
17
# File 'lib/octopus/persistence.rb', line 15

def reload(*args)
  run_on_shard { super }
end

#touch(*args) ⇒ Object


27
28
29
# File 'lib/octopus/persistence.rb', line 27

def touch(*args)
  run_on_shard { super }
end

#update_attribute(*args) ⇒ Object


3
4
5
# File 'lib/octopus/persistence.rb', line 3

def update_attribute(*args)
  run_on_shard { super }
end

#update_attributes(*args) ⇒ Object


7
8
9
# File 'lib/octopus/persistence.rb', line 7

def update_attributes(*args)
  run_on_shard { super }
end

#update_attributes!(*args) ⇒ Object


11
12
13
# File 'lib/octopus/persistence.rb', line 11

def update_attributes!(*args)
  run_on_shard { super }
end

#update_column(*args) ⇒ Object


31
32
33
# File 'lib/octopus/persistence.rb', line 31

def update_column(*args)
  run_on_shard { super }
end