Class: Session
- Inherits:
-
Object
- Object
- Session
- Defined in:
- lib/stf/model/session.rb
Instance Attribute Summary collapse
-
#serial ⇒ Object
Returns the value of attribute serial.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(serial, url) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(serial, url) ⇒ Session
Returns a new instance of Session.
5 6 7 8 |
# File 'lib/stf/model/session.rb', line 5 def initialize(serial, url) @serial = serial @url = url end |
Instance Attribute Details
#serial ⇒ Object
Returns the value of attribute serial.
3 4 5 |
# File 'lib/stf/model/session.rb', line 3 def serial @serial end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/stf/model/session.rb', line 3 def url @url end |