module Bicho::CommonClient
This module allows the [Bug] and other classes to offer an ActiveRecord like query API by allowing to set a default [Client] to make operations.
Attributes
common_client[W]
Public Class Methods
common_client()
click to toggle source
# File lib/bicho/common_client.rb, line 40 def self.common_client @common_client ||= (raise 'No common client set') end
Public Instance Methods
common_client()
click to toggle source
# File lib/bicho/common_client.rb, line 44 def common_client CommonClient.common_client end