Module: CouchRest::Model::Proxyable
Overview
:nodoc: Because I like inventing words
Defined Under Namespace
Modules: ClassMethods Classes: ModelProxy
Instance Method Summary collapse
Instance Method Details
#proxy_database ⇒ Object
7 8 9 10 |
# File 'lib/couchrest/model/proxyable.rb', line 7 def proxy_database raise StandardError, "Please set the #proxy_database_method" if self.class.proxy_database_method.nil? @proxy_database ||= self.class.prepare_database(self.send(self.class.proxy_database_method)) end |