Class: FreshConnection::ConnectionSpecification
- Inherits:
-
Object
- Object
- FreshConnection::ConnectionSpecification
- Defined in:
- lib/fresh_connection/connection_specification.rb,
lib/fresh_connection/connection_specification/rails_60.rb,
lib/fresh_connection/connection_specification/rails_61.rb
Defined Under Namespace
Instance Method Summary collapse
-
#initialize(spec_name, modify_spec: nil) ⇒ ConnectionSpecification
constructor
A new instance of ConnectionSpecification.
Constructor Details
#initialize(spec_name, modify_spec: nil) ⇒ ConnectionSpecification
Returns a new instance of ConnectionSpecification.
7 8 9 10 |
# File 'lib/fresh_connection/connection_specification.rb', line 7 def initialize(spec_name, modify_spec: nil) @spec_name = spec_name.to_s @modify_spec = modify_spec.with_indifferent_access if modify_spec end |