Class: NSURLRequest
- Inherits:
-
Object
- Object
- NSURLRequest
- Defined in:
- motion/core/ns_url_request.rb
Instance Method Summary collapse
-
#to_s ⇒ Object
Provides a to_s method so we can use inspect in instances and get valuable information.
Instance Method Details
#to_s ⇒ Object
Provides a to_s method so we can use inspect in instances and get valuable information.
5 6 7 8 9 10 |
# File 'motion/core/ns_url_request.rb', line 5 def to_s "#<#{self.class}:#{self.object_id} - url: #{self.URL.description}, headers: #{self.allHTTPHeaderFields.inspect}, cache policy: #{self.cachePolicy}, Pipelining: #{self.HTTPShouldUsePipelining}, main doc url: #{mainDocumentURL},\ timeout: #{self.timeoutInterval}, network service type: #{self.networkServiceType} >" end |