Class: Neography::Rest::Batch
- Inherits:
-
Object
- Object
- Neography::Rest::Batch
show all
- Extended by:
- Paths
- Includes:
- Helpers
- Defined in:
- lib/neography/rest/batch.rb
Instance Method Summary
collapse
Methods included from Paths
add_path, build_path, encode
Methods included from Helpers
#get_id, #json_content_type
Constructor Details
#initialize(connection) ⇒ Batch
9
10
11
|
# File 'lib/neography/rest/batch.rb', line 9
def initialize(connection)
@connection = connection
end
|
Instance Method Details
#execute(*args) ⇒ Object
13
14
15
|
# File 'lib/neography/rest/batch.rb', line 13
def execute(*args)
batch({'Accept' => 'application/json;stream=true'}, *args)
end
|
#not_streaming(*args) ⇒ Object
17
18
19
|
# File 'lib/neography/rest/batch.rb', line 17
def not_streaming(*args)
batch({}, *args)
end
|