Class: BigRecord::Base::ConnectionSpecification
- Inherits:
-
Object
- Object
- BigRecord::Base::ConnectionSpecification
- Defined in:
- lib/big_record/connection_adapters/abstract/connection_specification.rb
Overview
:nodoc:
Instance Attribute Summary
-
- (Object) adapter_method
readonly
Returns the value of attribute adapter_method.
-
- (Object) config
readonly
Returns the value of attribute config.
Instance Method Summary
-
- (ConnectionSpecification) initialize(config, adapter_method)
constructor
A new instance of ConnectionSpecification.
Constructor Details
- (ConnectionSpecification) initialize(config, adapter_method)
A new instance of ConnectionSpecification
7 8 9 |
# File 'lib/big_record/connection_adapters/abstract/connection_specification.rb', line 7 def initialize (config, adapter_method) @config, @adapter_method = config, adapter_method end |
Instance Attribute Details
- (Object) adapter_method (readonly)
Returns the value of attribute adapter_method
6 7 8 |
# File 'lib/big_record/connection_adapters/abstract/connection_specification.rb', line 6 def adapter_method @adapter_method end |
- (Object) config (readonly)
Returns the value of attribute config
6 7 8 |
# File 'lib/big_record/connection_adapters/abstract/connection_specification.rb', line 6 def config @config end |