Sha256: c37dda1710cadab4853d36f966335d9ff1c3ca5e91d59cc69339fbe027276d58
Contents?: true
Size: 472 Bytes
Versions: 8
Compression:
Stored size: 472 Bytes
Contents
module Tinia module Connection def self.included(klass) klass.send(:extend, ClassMethods) klass.class_eval do class_inheritable_accessor :cloud_search_domain end end module ClassMethods # accessor for the cloud search connection def cloud_search_connection @cloud_search_connection ||= begin Tinia.connection( self.cloud_search_domain ) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems