Class: Ruboty::Authorization::Action::Authorize

Inherits:
Ruboty::Actions::Base
  • Object
show all
Defined in:
lib/ruboty/authorization/actions/authorize.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#user_listObject (readonly)

Returns the value of attribute user_list.



3
4
5
# File 'lib/ruboty/authorization/actions/authorize.rb', line 3

def user_list
  @user_list
end

Instance Method Details

#callObject



5
6
7
8
# File 'lib/ruboty/authorization/actions/authorize.rb', line 5

def call
  @user_list = ::Ruboty::Authorization::UserList.new(message.robot.brain)
  message.reply(authorize)
end