class Ayadn::StreamMetaObject

Attributes

code[R]
input[R]
marker[R]
max_id[R]
min_id[R]
more[R]

Public Class Methods

new(hash) click to toggle source
# File lib/ayadn/stream_object.rb, line 23
def initialize hash
        @input = hash["meta"].nil? ? {} : hash["meta"]
        @marker = hash["meta"].nil? ? nil : StreamMarkerObject.new(@input)
        @min_id = @input["min_id"]
        @code = @input["code"]
        @max_id = @input["max_id"]
        @more = @input["more"]
end