Class: Wamp::Type::Registration

Inherits:
Object
  • Object
show all
Defined in:
lib/wamp/type/registration.rb

Overview

Registration Type

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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