module Arango::Collection_Return

Public Instance Methods

assign_collection(collection)
Alias for: collection=
collection=(collection) click to toggle source
# File lib/helpers/Return.rb, line 44
def collection=(collection)
  satisfy_class?(collection, [Arango::Collection])
  @collection = collection
  @graph = @collection.graph
  @database = @collection.database
  @server = @database.server
end
Also aliased as: assign_collection