Class: Keymaker::Request
- Inherits:
-
Object
- Object
- Keymaker::Request
- Extended by:
- Forwardable
- Defined in:
- lib/keymaker/request.rb
Direct Known Subclasses
AddNodeToIndexRequest, BatchRequest, CreateNodeRequest, CreateRelationshipRequest, DeleteNodeRequest, DeleteRelationshipRequest, ExecuteCypherRequest, ExecuteGremlinRequest, GetNodeRequest, GetRelationshipTypesRequest, RemoveNodeFromIndexRequest, ServiceRootRequest, TraversePathRequest, UpdateNodePropertiesRequest
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#opts ⇒ Object
Returns the value of attribute opts.
-
#service ⇒ Object
Returns the value of attribute service.
Instance Method Summary collapse
-
#initialize(service, options) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(service, options) ⇒ Request
Returns a new instance of Request.
26 27 28 29 30 |
# File 'lib/keymaker/request.rb', line 26 def initialize(service, ) self.config = service.config self.opts = self.service = service end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
24 25 26 |
# File 'lib/keymaker/request.rb', line 24 def config @config end |
#opts ⇒ Object
Returns the value of attribute opts.
24 25 26 |
# File 'lib/keymaker/request.rb', line 24 def opts @opts end |
#service ⇒ Object
Returns the value of attribute service.
24 25 26 |
# File 'lib/keymaker/request.rb', line 24 def service @service end |