Class: Mushikago::Tombo::CaptureRequest
- Inherits:
-
Request
- Object
- Http::Request
- Request
- Mushikago::Tombo::CaptureRequest
- Defined in:
- lib/mushikago/tombo/capture_request.rb
Overview
キャプチャリクエスト
Instance Attribute Summary
Attributes inherited from Http::Request
headers, host, http_method, params, path, port
Instance Method Summary (collapse)
-
- (CaptureRequest) initialize(url, options = {})
constructor
A new instance of CaptureRequest.
- - (Object) method_name
- - (Object) new_http_request
Methods included from Auth::Signature
#add_signature!, #string_to_sign
Methods inherited from Http::Request
add_param, #get_param, #set_param, #to_http_request, #url_encoded_params
Constructor Details
- (CaptureRequest) initialize(url, options = {})
A new instance of CaptureRequest
19 |
# File 'lib/mushikago/tombo/capture_request.rb', line 19 def initialize url, ={} |
Instance Method Details
- (Object) method_name
5 |
# File 'lib/mushikago/tombo/capture_request.rb', line 5 def method_name; 'capture.json' end |
- (Object) new_http_request
30 31 32 |
# File 'lib/mushikago/tombo/capture_request.rb', line 30 def new_http_request Net::HTTP::Post.new(path) end |