Class: Uncomtrade::Request
- Inherits:
-
Object
- Object
- Uncomtrade::Request
- Defined in:
- lib/uncomtrade/request.rb
Instance Method Summary collapse
- #get_data ⇒ Object
-
#initialize(opts = {}) ⇒ Request
constructor
A new instance of Request.
- #params ⇒ Object
- #reset ⇒ Object
- #update(opts = {}) ⇒ Object
Constructor Details
Instance Method Details
#get_data ⇒ Object
10 11 12 13 |
# File 'lib/uncomtrade/request.rb', line 10 def get_data http_response = query.get_data(.) Response.new(http_response) end |
#params ⇒ Object
25 26 27 |
# File 'lib/uncomtrade/request.rb', line 25 def params . end |
#reset ⇒ Object
15 16 17 18 |
# File 'lib/uncomtrade/request.rb', line 15 def reset .reset self end |
#update(opts = {}) ⇒ Object
20 21 22 23 |
# File 'lib/uncomtrade/request.rb', line 20 def update(opts={}) .update(opts) self end |