Sha256: 1598ea2d5a59fa555e35715cc49fdfa03678340273f8f9829f1df105354de2fd

Contents?: true

Size: 255 Bytes

Versions: 11

Compression:

Stored size: 255 Bytes

Contents

class Pusher
  def self.encrypted=(bool)
    @encrypt = bool
  end

  def self.encrypted
    @encrypt
  end

  def self.trigger(channel, command, message)
    return {
      channel: channel,
      command: command,
      message: message,
    }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
foreign_office-0.17.6 test/support/pusher.rb
foreign_office-0.17.5 test/support/pusher.rb
foreign_office-0.17.4 test/support/pusher.rb
foreign_office-0.17.3 test/support/pusher.rb
foreign_office-0.17.2 test/support/pusher.rb
foreign_office-0.17.1 test/support/pusher.rb
foreign_office-0.17.0 test/support/pusher.rb
foreign_office-0.16.6 test/support/pusher.rb
foreign_office-0.16.5 test/support/pusher.rb
foreign_office-0.16.4 test/support/pusher.rb
foreign_office-0.16.3 test/support/pusher.rb