Class: Neography::Rest::Batch
- Inherits:
-
Object
- Object
- Neography::Rest::Batch
- Extended by:
- Paths
- Includes:
- Helpers
- Defined in:
- lib/neography/rest/batch.rb
Instance Method Summary collapse
- #execute(*args) ⇒ Object
-
#initialize(connection) ⇒ Batch
constructor
A new instance of Batch.
Methods included from Paths
Methods included from Helpers
#get_id, #json_content_type, #parse_direction
Constructor Details
#initialize(connection) ⇒ Batch
Returns a new instance of 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(*args) end |