faye 1.0.3 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +0,0 @@
1
- module Faye
2
- class Envelope
3
-
4
- include Deferrable
5
- attr_reader :id, :message
6
-
7
- def initialize(message, timeout = nil)
8
- @id = message['id']
9
- @message = message
10
-
11
- self.timeout(timeout, false) if timeout
12
- end
13
-
14
- def eql?(other)
15
- Envelope === other and @id == other.id
16
- end
17
-
18
- def hash
19
- @id.hash
20
- end
21
-
22
- end
23
- end
24
-