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