--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: A callable object returning a naming convention for property fields
  - !ruby/struct:SM::Flow::P 
    body: "@example"
  - !ruby/struct:SM::Flow::VERB 
    body: "  adapter.field_naming_convention  # =&gt; Proc for field name\n"
  - !ruby/struct:SM::Flow::P 
    body: "@return [#call]"
  - !ruby/struct:SM::Flow::VERB 
    body: "  object to return the naming convention for each field\n"
  - !ruby/struct:SM::Flow::P 
    body: "@api semipublic"
  name: field_naming_convention
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Adapter name
  - !ruby/struct:SM::Flow::P 
    body: "@example"
  - !ruby/struct:SM::Flow::VERB 
    body: "  adapter.name  # =&gt; :default\n"
  - !ruby/struct:SM::Flow::P 
    body: Note that when you use
  - !ruby/struct:SM::Flow::P 
    body: DataMapper.setup(:default, 'postgres://postgres@localhost/dm_core_test')
  - !ruby/struct:SM::Flow::P 
    body: then adapter name is currently be set to is :default
  - !ruby/struct:SM::Flow::P 
    body: "@return [Symbol]"
  - !ruby/struct:SM::Flow::VERB 
    body: "  the adapter name\n"
  - !ruby/struct:SM::Flow::P 
    body: "@api semipublic"
  name: name
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Options with which adapter was set up
  - !ruby/struct:SM::Flow::P 
    body: "@example"
  - !ruby/struct:SM::Flow::VERB 
    body: "  adapter.options  # =&gt; { :adapter =&gt; 'yaml', :path =&gt; '/tmp' }\n"
  - !ruby/struct:SM::Flow::P 
    body: "@return [Hash]"
  - !ruby/struct:SM::Flow::VERB 
    body: "  adapter configuration options\n"
  - !ruby/struct:SM::Flow::P 
    body: "@api semipublic"
  name: options
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: A callable object returning a naming convention for model storage
  - !ruby/struct:SM::Flow::P 
    body: "@example"
  - !ruby/struct:SM::Flow::VERB 
    body: "  adapter.resource_naming_convention  # =&gt; Proc for model storage name\n"
  - !ruby/struct:SM::Flow::P 
    body: "@return [#call]"
  - !ruby/struct:SM::Flow::VERB 
    body: "  object to return the naming convention for each model\n"
  - !ruby/struct:SM::Flow::P 
    body: "@api semipublic"
  name: resource_naming_convention
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: Specific adapters extend this class and implement methods for creating, reading, updating and deleting records.
- !ruby/struct:SM::Flow::P 
  body: Adapters may only implement method for reading or (less common case) writing. Read only adapter may be useful when one needs to work with legacy data that should not be changed or web services that only provide read access to data (from Wordnet and Medline to Atom and RSS syndication feeds)
- !ruby/struct:SM::Flow::P 
  body: Note that in case of adapters to relational databases it makes sense to inherit from DataObjectsAdapter class.
constants: []

full_name: DataMapper::Adapters::AbstractAdapter
includes: 
- !ruby/object:RI::IncludedModule 
  name: Extlib::Assertions
instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: attributes_as_fields
- !ruby/object:RI::MethodSummary 
  name: create
- !ruby/object:RI::MethodSummary 
  name: delete
- !ruby/object:RI::MethodSummary 
  name: initialize_serial
- !ruby/object:RI::MethodSummary 
  name: read
- !ruby/object:RI::MethodSummary 
  name: update
name: AbstractAdapter
superclass: Object
