Class: OrientDbClient::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/orient_db_client/session.rb

Direct Known Subclasses

DatabaseSession, ServerSession

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, connection) ⇒ Session

Returns a new instance of Session.



5
6
7
8
# File 'lib/orient_db_client/session.rb', line 5

def initialize(id, connection)
	@id = id
	@connection = connection
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



3
4
5
# File 'lib/orient_db_client/session.rb', line 3

def id
  @id
end