Class: Mushikago::Mitsubachi::ScriptListRequest
- Inherits:
-
Http::GetRequest
- Object
- Http::Request
- Http::GetRequest
- Mushikago::Mitsubachi::ScriptListRequest
- Defined in:
- lib/mushikago/mitsubachi/script_list_request.rb
Instance Attribute Summary
Attributes inherited from Http::Request
#headers, #host, #params, #port
Instance Method Summary collapse
-
#initialize(project_name, options = {}) ⇒ ScriptListRequest
constructor
A new instance of ScriptListRequest.
- #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(project_name, options = {}) ⇒ ScriptListRequest
Returns a new instance of ScriptListRequest.
11 12 13 14 15 16 17 |
# File 'lib/mushikago/mitsubachi/script_list_request.rb', line 11 def initialize project_name, ={} super() self.project_name = project_name self.limit = [:limit] if .has_key?(:limit) self.offset = [:offset] if .has_key?(:offset) self.filter = [:filter] if .has_key?(:filter) end |
Instance Method Details
#path ⇒ Object
5 |
# File 'lib/mushikago/mitsubachi/script_list_request.rb', line 5 def path; '/1/mitsubachi/script/list' end |