Sha256: 76923d7aaa2de75e202f9c621dc110a94d66b8d3bc6bab1244ab31af57165bfd

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

module Slappy
  module SlackAPI
    class User < Base
      self.list_name = 'members'
      self.monitor_event = %w(team_join user_change)

      def name
        '@' + @data.name
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slappy-0.6.3 lib/slappy/slack_api/user.rb
slappy-0.6.2 lib/slappy/slack_api/user.rb
slappy-0.6.1 lib/slappy/slack_api/user.rb
slappy-0.6.0 lib/slappy/slack_api/user.rb