Class: Connection
- Inherits:
-
Object
- Object
- Connection
- Extended by:
- Sunbro
- Defined in:
- lib/sunbro/connection.rb
Constant Summary
Constants included from Sunbro
Sunbro::MAX_RETRIES, Sunbro::VERSION
Instance Attribute Summary collapse
-
#dhttp ⇒ Object
readonly
Returns the value of attribute dhttp.
-
#http ⇒ Object
readonly
Returns the value of attribute http.
Instance Method Summary collapse
Methods included from Sunbro
close_http_connections, fetch_with_connection, get_page, render_page
Instance Attribute Details
#dhttp ⇒ Object (readonly)
Returns the value of attribute dhttp.
3 4 5 |
# File 'lib/sunbro/connection.rb', line 3 def dhttp @dhttp end |
#http ⇒ Object (readonly)
Returns the value of attribute http.
3 4 5 |
# File 'lib/sunbro/connection.rb', line 3 def http @http end |
Instance Method Details
#close ⇒ Object
5 6 7 |
# File 'lib/sunbro/connection.rb', line 5 def close close_http_connections end |