Class: Ethon::Easy::Params Private
- Inherits:
-
Object
- Object
- Ethon::Easy::Params
- Defined in:
- lib/ethon/easy/params.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
This class represents HTTP request parameters.
Instance Method Summary collapse
-
#initialize(easy, params) ⇒ Params
constructor
private
Create a new Params.
Methods included from Queryable
#build_query_pairs, #empty?, #file_info, included, #query_pairs, #to_s
Methods included from Util
Constructor Details
#initialize(easy, params) ⇒ Params
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create a new Params.
23 24 25 26 |
# File 'lib/ethon/easy/params.rb', line 23 def initialize(easy, params) @easy = easy @params = params || {} end |