Class: Thales::Pse::Slot
- Inherits:
-
Object
- Object
- Thales::Pse::Slot
- Defined in:
- lib/thales/pse/slot.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
- #default_token ⇒ Object
-
#initialize(id) ⇒ Slot
constructor
A new instance of Slot.
Constructor Details
#initialize(id) ⇒ Slot
Returns a new instance of Slot.
9 10 11 |
# File 'lib/thales/pse/slot.rb', line 9 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/thales/pse/slot.rb', line 8 def id @id end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
8 9 10 |
# File 'lib/thales/pse/slot.rb', line 8 def token @token end |