Class: Ayadn::ChannelReadersObject
- Defined in:
- lib/ayadn/channel_object.rb
Instance Attribute Summary collapse
-
#any_user ⇒ Object
readonly
Returns the value of attribute any_user.
-
#immutable ⇒ Object
readonly
Returns the value of attribute immutable.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#public ⇒ Object
readonly
Returns the value of attribute public.
-
#you ⇒ Object
readonly
Returns the value of attribute you.
Instance Method Summary collapse
-
#initialize(hash) ⇒ ChannelReadersObject
constructor
A new instance of ChannelReadersObject.
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_user ⇒ Object (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 |
#immutable ⇒ Object (readonly)
Returns the value of attribute immutable.
6 7 8 |
# File 'lib/ayadn/channel_object.rb', line 6 def immutable @immutable end |
#input ⇒ Object (readonly)
Returns the value of attribute input.
6 7 8 |
# File 'lib/ayadn/channel_object.rb', line 6 def input @input end |
#public ⇒ Object (readonly)
Returns the value of attribute public.
6 7 8 |
# File 'lib/ayadn/channel_object.rb', line 6 def public @public end |
#you ⇒ Object (readonly)
Returns the value of attribute you.
6 7 8 |
# File 'lib/ayadn/channel_object.rb', line 6 def you @you end |