Module: Octoball::UsingShard

Included in:
Octoball
Defined in:
lib/octoball.rb

Instance Method Summary collapse

Instance Method Details

#using(shard) ⇒ Object



24
25
26
# File 'lib/octoball.rb', line 24

def using(shard)
  Octoball::RelationProxy.new(all, shard&.to_sym)
end