Class: OrientDbClient::Session
- Inherits:
-
Object
- Object
- OrientDbClient::Session
- Defined in:
- lib/orient_db_client/session.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id, connection) ⇒ Session
constructor
A new instance of Session.
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
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/orient_db_client/session.rb', line 3 def id @id end |