Class: Delfos::Neo4j::QueryExecution::Http
- Inherits:
-
Object
- Object
- Delfos::Neo4j::QueryExecution::Http
- Defined in:
- lib/delfos/neo4j/query_execution/http.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(uri) ⇒ Http
constructor
A new instance of Http.
- #post(body) ⇒ Object
Constructor Details
#initialize(uri) ⇒ Http
Returns a new instance of Http.
11 12 13 |
# File 'lib/delfos/neo4j/query_execution/http.rb', line 11 def initialize(uri) @uri = uri end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
9 10 11 |
# File 'lib/delfos/neo4j/query_execution/http.rb', line 9 def uri @uri end |
Instance Method Details
#get ⇒ Object
19 20 21 |
# File 'lib/delfos/neo4j/query_execution/http.rb', line 19 def get response(build_get) end |
#post(body) ⇒ Object
15 16 17 |
# File 'lib/delfos/neo4j/query_execution/http.rb', line 15 def post(body) response(build_post(body)) end |