Module: BrandLogo::HttpClient
- Extended by:
- T::Helpers, T::Sig
- Included in:
- RealHttpClient
- Defined in:
- lib/brand_logo/http_client.rb
Overview
Interface for HTTP operations used by strategies. Decouples strategies from the HTTP gem, enabling injection of test doubles.
Instance Method Summary collapse
Instance Method Details
#get_body(url) ⇒ Object
18 |
# File 'lib/brand_logo/http_client.rb', line 18 def get_body(url); end |
#head_success?(url) ⇒ Boolean
22 |
# File 'lib/brand_logo/http_client.rb', line 22 def head_success?(url); end |