Class: Mushikago::Hotaru::TextListRequest
- Inherits:
-
Mushikago::Http::GetRequest
- Object
- Mushikago::Http::Request
- Mushikago::Http::GetRequest
- Mushikago::Hotaru::TextListRequest
- Defined in:
- lib/mushikago/hotaru/text_list_request.rb
Instance Attribute Summary
Attributes inherited from Mushikago::Http::Request
headers, host, params, path, port
Instance Method Summary (collapse)
-
- (TextListRequest) initialize(domain_name, options = {})
constructor
A new instance of TextListRequest.
- - (Object) path
Methods inherited from Mushikago::Http::GetRequest
Methods included from Auth::Signature
#add_signature!, #string_to_sign
Methods inherited from Mushikago::Http::Request
#[], #[]=, add_param, #to_http_request, #url_encoded_params
Constructor Details
- (TextListRequest) initialize(domain_name, options = {})
A new instance of TextListRequest
13 14 15 16 17 18 19 20 21 |
# File 'lib/mushikago/hotaru/text_list_request.rb', line 13 def initialize domain_name, ={} super() self.domain_name = domain_name self.limit = [:limit] if .has_key?(:limit) self.offset = [:offset] if .has_key?(:offset) self.filter = [:filter] if .has_key?(:filter) self. = [:tags] if .has_key?(:tags) self.status = [:status] if .has_key?(:status) end |
Instance Method Details
- (Object) path
5 |
# File 'lib/mushikago/hotaru/text_list_request.rb', line 5 def path; '/1/hotaru/text/list' end |