Class: Ayadn::ChannelEditorsObject
- 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.
-
#user_ids ⇒ Object
readonly
Returns the value of attribute user_ids.
-
#you ⇒ Object
readonly
Returns the value of attribute you.
Instance Method Summary collapse
-
#initialize(hash) ⇒ ChannelEditorsObject
constructor
A new instance of ChannelEditorsObject.
Constructor Details
#initialize(hash) ⇒ ChannelEditorsObject
Returns a new instance of ChannelEditorsObject.
21 22 23 24 25 26 27 28 |
# File 'lib/ayadn/channel_object.rb', line 21 def initialize hash @input = hash @you = @input["you"] @any_user = @input["any_user"] @public = @input["public"] @immutable = @input["immutable"] @user_ids = @input["user_ids"] end |
Instance Attribute Details
#any_user ⇒ Object (readonly)
Returns the value of attribute any_user.
19 20 21 |
# File 'lib/ayadn/channel_object.rb', line 19 def any_user @any_user end |
#immutable ⇒ Object (readonly)
Returns the value of attribute immutable.
19 20 21 |
# File 'lib/ayadn/channel_object.rb', line 19 def immutable @immutable end |
#input ⇒ Object (readonly)
Returns the value of attribute input.
19 20 21 |
# File 'lib/ayadn/channel_object.rb', line 19 def input @input end |
#public ⇒ Object (readonly)
Returns the value of attribute public.
19 20 21 |
# File 'lib/ayadn/channel_object.rb', line 19 def public @public end |
#user_ids ⇒ Object (readonly)
Returns the value of attribute user_ids.
19 20 21 |
# File 'lib/ayadn/channel_object.rb', line 19 def user_ids @user_ids end |
#you ⇒ Object (readonly)
Returns the value of attribute you.
19 20 21 |
# File 'lib/ayadn/channel_object.rb', line 19 def you @you end |