Class: Slack::Messages::Message

Inherits:
Hashie::Mash
  • Object
show all
Defined in:
lib/slack/messages/message.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



5
6
7
8
9
# File 'lib/slack/messages/message.rb', line 5

def to_s
  keys.sort_by(&:to_s).map do |key|
    "#{key}=#{self[key]}"
  end.join(', ')
end