Class: Mushikago::Tombo::CapturesRequest
- Inherits:
-
Http::GetRequest
- Object
- Http::Request
- Http::GetRequest
- Mushikago::Tombo::CapturesRequest
- Defined in:
- lib/mushikago/tombo/captures_request.rb
Overview
キャプチャ一覧取得リクエスト
Instance Attribute Summary
Attributes inherited from Http::Request
#headers, #host, #params, #port
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ CapturesRequest
constructor
A new instance of CapturesRequest.
- #path ⇒ Object
Methods inherited from Http::GetRequest
Methods included from Auth::Signature
#add_signature!, #string_to_sign
Methods inherited from Http::Request
#[], #[]=, add_param, #to_http_request, #url_encoded_params
Constructor Details
#initialize(options = {}) ⇒ CapturesRequest
Returns a new instance of CapturesRequest.
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/mushikago/tombo/captures_request.rb', line 24 def initialize ={} super() self.id = [:id] if .has_key?(:id) self.limit = [:limit] if .has_key?(:limit) self.offset = [:offset] if .has_key?(:offset) self.domain = [:domain] if .has_key?(:domain) self.tag = [:tag] if .has_key?(:tag) self.source_url = [:source_url] if .has_key?(:source_url) self.state = [:state] if .has_key?(:state) end |
Instance Method Details
#path ⇒ Object
6 |
# File 'lib/mushikago/tombo/captures_request.rb', line 6 def path; '/1/tombo/captures' end |