Class: Ayadn::ChannelReadersObject

Inherits:
Object
  • Object
show all
Defined in:
lib/ayadn/channel_object.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ ChannelReadersObject

Returns a new instance of ChannelReadersObject.



8
9
10
11
12
13
14
# File 'lib/ayadn/channel_object.rb', line 8

def initialize hash
  @input = hash
  @you = @input["you"]
  @any_user = @input["any_user"]
  @public = @input["public"]
  @immutable = @input["immutable"]
end

Instance Attribute Details

#any_userObject (readonly)

Returns the value of attribute any_user.



6
7
8
# File 'lib/ayadn/channel_object.rb', line 6

def any_user
  @any_user
end

#immutableObject (readonly)

Returns the value of attribute immutable.



6
7
8
# File 'lib/ayadn/channel_object.rb', line 6

def immutable
  @immutable
end

#inputObject (readonly)

Returns the value of attribute input.



6
7
8
# File 'lib/ayadn/channel_object.rb', line 6

def input
  @input
end

#publicObject (readonly)

Returns the value of attribute public.



6
7
8
# File 'lib/ayadn/channel_object.rb', line 6

def public
  @public
end

#youObject (readonly)

Returns the value of attribute you.



6
7
8
# File 'lib/ayadn/channel_object.rb', line 6

def you
  @you
end