Module: Fetch
- Defined in:
- lib/fetch.rb,
lib/fetch/api.rb,
lib/fetch/client.rb,
lib/fetch/config.rb,
lib/fetch/errors.rb,
lib/fetch/headers.rb,
lib/fetch/version.rb,
lib/fetch/response.rb,
lib/fetch/form_data.rb,
lib/fetch/multi_map.rb,
lib/fetch/connection_pool.rb,
lib/fetch/url_search_params.rb
Defined Under Namespace
Modules: API Classes: Client, Config, ConnectionPool, Error, FormData, Headers, MultiMap, RedirectError, Response, URLSearchParams
Constant Summary collapse
- VERSION =
'0.6.0'
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
4 5 6 |
# File 'lib/fetch.rb', line 4 def config @config end |
Class Method Details
.configure(&block) ⇒ Object
8 9 10 |
# File 'lib/fetch.rb', line 8 def self.configure(&block) block.call(config) end |