Class: Wamp::Type::Registration
- Inherits:
-
Object
- Object
- Wamp::Type::Registration
- Defined in:
- lib/wamp/type/registration.rb
Overview
Registration Type
Instance Attribute Summary collapse
-
#registration_id ⇒ Object
readonly
Returns the value of attribute registration_id.
Instance Method Summary collapse
-
#initialize(registration_id: nil) ⇒ Registration
constructor
A new instance of Registration.
Constructor Details
#initialize(registration_id: nil) ⇒ Registration
Returns a new instance of Registration.
9 10 11 |
# File 'lib/wamp/type/registration.rb', line 9 def initialize(registration_id: nil) @registration_id = registration_id end |
Instance Attribute Details
#registration_id ⇒ Object (readonly)
Returns the value of attribute registration_id.
7 8 9 |
# File 'lib/wamp/type/registration.rb', line 7 def registration_id @registration_id end |