Class: Slackup::Ims::Im

Inherits:
Struct
  • Object
show all
Defined in:
lib/slackup/ims.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#im_hashObject

Returns the value of attribute im_hash

Returns:

  • (Object)

    the current value of im_hash



2
3
4
# File 'lib/slackup/ims.rb', line 2

def im_hash
  @im_hash
end

Instance Method Details

#idObject



3
# File 'lib/slackup/ims.rb', line 3

def id; im_hash["id"]; end

#userObject



5
# File 'lib/slackup/ims.rb', line 5

def user; im_hash["user"]; end