Class: Slappy::SlackAPI::Base

Inherits:
Object
  • Object
show all
Includes:
Findable
Defined in:
lib/slappy/slack_api/base.rb

Direct Known Subclasses

Channel, Direct, File, Group, Pin, User

Instance Method Summary collapse

Methods included from Findable

#initialize

Instance Method Details

#==(other) ⇒ Object



6
7
8
9
# File 'lib/slappy/slack_api/base.rb', line 6

def ==(other)
  return false unless other.instance_of? self.class
  other.id == id
end