Module: Semian::NetHTTP::ClassMethods
- Defined in:
- lib/semian/net_http.rb
Overview
Net::HTTP can throw many different errors, this tries to capture most of them
Instance Method Summary collapse
Instance Method Details
#new(*args, semian: true) ⇒ Object
50 51 52 53 54 |
# File 'lib/semian/net_http.rb', line 50 def new(*args, semian: true) http = super(*args) http.instance_variable_set(:@semian_enabled, semian) http end |