Class: Axiom::Adapter::DataObjects
- Inherits:
-
Object
- Object
- Axiom::Adapter::DataObjects
- Extended by:
- Axiom::Adapter
- Defined in:
- lib/rom/support/axiom/adapter/data_objects.rb
Overview
Reopenend to add functionality that should eventually be puhsed down to Adapter::DataObjects proper, or whatever will be the base class.
Constant Summary
Constants included from Axiom::Adapter
Instance Attribute Summary collapse
-
#uri ⇒ Addressable::URI
readonly
private
The URI this adapter uses for establishing a connection.
Instance Method Summary collapse
-
#gateway(relation) ⇒ Axiom::Relation::Gateway
private
Wrap the given
relation
with a gateway.
Methods included from Axiom::Adapter
Instance Attribute Details
#uri ⇒ Addressable::URI (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The URI this adapter uses for establishing a connection
23 24 25 |
# File 'lib/rom/support/axiom/adapter/data_objects.rb', line 23 def uri @uri end |
Instance Method Details
#gateway(relation) ⇒ Axiom::Relation::Gateway
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Wrap the given relation
with a gateway
33 34 35 |
# File 'lib/rom/support/axiom/adapter/data_objects.rb', line 33 def gateway(relation) Axiom::Relation::Gateway.new(self, relation) end |