Class: Rebels::Values::Request
- Inherits:
-
Object
- Object
- Rebels::Values::Request
- Includes:
- With
- Defined in:
- lib/rebels/values/request.rb
Instance Method Summary collapse
Methods included from With
Instance Method Details
#all_params ⇒ Object
16 17 18 |
# File 'lib/rebels/values/request.rb', line 16 def all_params path_params.merge(params) end |
#method ⇒ Object
20 21 22 |
# File 'lib/rebels/values/request.rb', line 20 def method @method || "GET" end |
#params ⇒ Object
12 13 14 |
# File 'lib/rebels/values/request.rb', line 12 def params HashWithIndifferentAccess.new(@params) end |
#path_params ⇒ Object
8 9 10 |
# File 'lib/rebels/values/request.rb', line 8 def path_params @path_params || {} end |