Class: WampClient::Serializer::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/wamp_client/serializer.rb

Direct Known Subclasses

JSONSerializer

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#typeObject

Returns the value of attribute type.



34
35
36
# File 'lib/wamp_client/serializer.rb', line 34

def type
  @type
end

Instance Method Details

#deserialize(string) ⇒ Object

Deserializes the object

Parameters:

  • string (String)
    • The string to deserialize

Returns:

  • The deserialized object



45
46
47
# File 'lib/wamp_client/serializer.rb', line 45

def deserialize(string)

end

#serialize(object) ⇒ Object

Serializes the object

Parameters:

  • object
    • The object to serialize



38
39
40
# File 'lib/wamp_client/serializer.rb', line 38

def serialize(object)

end