# File lib/dm-core/adapters/abstract_adapter.rb, line 39 def initialize(name, uri_or_options) assert_kind_of 'name', name, Symbol assert_kind_of 'uri_or_options', uri_or_options, Addressable::URI, DataObjects::URI, Hash, String @name = name @uri = normalize_uri(uri_or_options) @resource_naming_convention = NamingConventions::Resource::UnderscoredAndPluralized @field_naming_convention = NamingConventions::Field::Underscored @transactions = {} end