Class: Mayu::EventStream::Blob

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/mayu/event_stream.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Blob

Returns a new instance of Blob.



55
56
57
# File 'lib/mayu/event_stream.rb', line 55

def initialize(data)
  @data = data
end

Class Method Details

.from_msgpack_ext(data) ⇒ Object



60
61
62
# File 'lib/mayu/event_stream.rb', line 60

def self.from_msgpack_ext(data)
  new(data)
end

Instance Method Details

#to_msgpack_extObject



65
66
67
# File 'lib/mayu/event_stream.rb', line 65

def to_msgpack_ext
  @data
end