Class: Net::HTTPResponse
- Inherits:
-
Object
- Object
- Net::HTTPResponse
- Defined in:
- lib/nerdz/rebinds.rb
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
60 61 62 63 64 |
# File 'lib/nerdz/rebinds.rb', line 60 def [](key) @header[key.to_s.downcase].join(', ') rescue nil end |
#keys ⇒ Object
66 67 68 |
# File 'lib/nerdz/rebinds.rb', line 66 def keys @header.keys end |
#values ⇒ Object
70 71 72 |
# File 'lib/nerdz/rebinds.rb', line 70 def values @header.values end |