Class: Mushikago::Mitsubachi::Client
- Inherits:
-
Http::Client
- Object
- Http::Client
- Mushikago::Mitsubachi::Client
- Defined in:
- lib/mushikago/mitsubachi/client.rb
Overview
Mitsubachiサービスを利用する
Instance Attribute Summary
Attributes inherited from Http::Client
Instance Method Summary (collapse)
-
- (Mushikago::Http::Response) http_fetch(project_name, url, script_name, options = {})
TODO http/fetchの説明.
-
- (Mushikago::Http::Response) http_push(project_name, url, script_name, file_name, file_input_key, options = {})
TODO http/pushの説明.
-
- (Mushikago::Http::Response) project_create(project_name, options = {})
TODO project/createの説明.
-
- (Mushikago::Http::Response) project_delete(project_name, options = {})
TODO project/deleteの説明.
-
- (Mushikago::Http::Response) project_discontinue(project_name, options = {})
TODO project/discontinueの説明.
-
- (Mushikago::Http::Response) project_info(project_name, options = {})
TODO project/infoの説明.
-
- (Mushikago::Http::Response) project_list(options = {})
TODO project/listの説明.
-
- (Mushikago::Http::Response) project_queues(project_name, options = {})
TODO project/queuesの説明.
-
- (Mushikago::Http::Response) project_update(project_name, options = {})
TODO project/updateの説明.
-
- (Mushikago::Http::Response) resource_delete(project_name, file_name, options = {})
TODO resource/deleteの説明.
-
- (Mushikago::Http::Response) resource_get(project_name, file_name, options = {})
TODO resource/getの説明.
-
- (Mushikago::Http::Response) resource_list(project_name, options = {})
TODO resource/listの説明.
-
- (Mushikago::Http::Response) resource_store(project_name, file_or_file_name, options = {})
TODO resource/storeの説明.
-
- (Mushikago::Http::Response) script_delete(project_name, script_name, options = {})
TODO script/deleteの説明.
-
- (Mushikago::Http::Response) script_deploy(project_name, file_or_file_name, options = {})
TODO script/deployの説明.
-
- (Mushikago::Http::Response) script_get(project_name, script_name, options = {})
TODO script/getの説明.
-
- (Mushikago::Http::Response) script_list(project_name, options = {})
TODO script/listの説明.
Methods inherited from Http::Client
Constructor Details
This class inherits a constructor from Mushikago::Http::Client
Instance Method Details
- (Mushikago::Http::Response) http_fetch(project_name, url, script_name, options = {})
TODO http/fetchの説明
117 118 119 120 |
# File 'lib/mushikago/mitsubachi/client.rb', line 117 def http_fetch project_name, url, script_name, ={} request = HttpFetchRequest.new(project_name, url, script_name, ) send_request(request) end |
- (Mushikago::Http::Response) http_push(project_name, url, script_name, file_name, file_input_key, options = {})
TODO http/pushの説明
137 138 139 140 |
# File 'lib/mushikago/mitsubachi/client.rb', line 137 def http_push project_name, url, script_name, file_name, file_input_key, ={} request = HttpPushRequest.new(project_name, url, script_name, file_name, file_input_key, ) send_request(request) end |
- (Mushikago::Http::Response) project_create(project_name, options = {})
TODO project/createの説明
24 25 26 27 |
# File 'lib/mushikago/mitsubachi/client.rb', line 24 def project_create project_name, ={} request = ProjectCreateRequest.new(project_name, ) send_request(request) end |
- (Mushikago::Http::Response) project_delete(project_name, options = {})
TODO project/deleteの説明
74 75 76 77 |
# File 'lib/mushikago/mitsubachi/client.rb', line 74 def project_delete project_name, ={} request = ProjectDeleteRequest.new(project_name, ) send_request(request) end |
- (Mushikago::Http::Response) project_discontinue(project_name, options = {})
TODO project/discontinueの説明
98 99 100 101 |
# File 'lib/mushikago/mitsubachi/client.rb', line 98 def project_discontinue project_name, ={} request = ProjectDiscontinueRequest.new(project_name, ) send_request(request) end |
- (Mushikago::Http::Response) project_info(project_name, options = {})
TODO project/infoの説明
50 51 52 53 |
# File 'lib/mushikago/mitsubachi/client.rb', line 50 def project_info project_name, ={} request = ProjectInfoRequest.new(project_name, ) send_request(request) end |
- (Mushikago::Http::Response) project_list(options = {})
TODO project/listの説明
38 39 40 41 |
# File 'lib/mushikago/mitsubachi/client.rb', line 38 def project_list ={} request = ProjectListRequest.new() send_request(request) end |
- (Mushikago::Http::Response) project_queues(project_name, options = {})
TODO project/queuesの説明
62 63 64 65 |
# File 'lib/mushikago/mitsubachi/client.rb', line 62 def project_queues project_name, ={} request = ProjectQueuesRequest.new(project_name, ) send_request(request) end |
- (Mushikago::Http::Response) project_update(project_name, options = {})
TODO project/updateの説明
86 87 88 89 |
# File 'lib/mushikago/mitsubachi/client.rb', line 86 def project_update project_name, ={} request = ProjectUpdateRequest.new(project_name, ) send_request(request) end |
- (Mushikago::Http::Response) resource_delete(project_name, file_name, options = {})
TODO resource/deleteの説明
249 250 251 252 |
# File 'lib/mushikago/mitsubachi/client.rb', line 249 def resource_delete project_name, file_name, ={} request = ResourceDeleteRequest.new(project_name, file_name, ) send_request(request) end |
- (Mushikago::Http::Response) resource_get(project_name, file_name, options = {})
TODO resource/getの説明
236 237 238 239 |
# File 'lib/mushikago/mitsubachi/client.rb', line 236 def resource_get project_name, file_name, ={} request = ResourceGetRequest.new(project_name, file_name, ) send_request(request) end |
- (Mushikago::Http::Response) resource_list(project_name, options = {})
TODO resource/listの説明
223 224 225 226 |
# File 'lib/mushikago/mitsubachi/client.rb', line 223 def resource_list project_name, ={} request = ResourceListRequest.new(project_name, ) send_request(request) end |
- (Mushikago::Http::Response) resource_store(project_name, file_or_file_name, options = {})
TODO resource/storeの説明
208 209 210 211 |
# File 'lib/mushikago/mitsubachi/client.rb', line 208 def resource_store project_name, file_or_file_name, ={} request = ResourceStoreRequest.new(project_name, file_or_file_name, ) send_request(request) end |
- (Mushikago::Http::Response) script_delete(project_name, script_name, options = {})
TODO script/deleteの説明
192 193 194 195 |
# File 'lib/mushikago/mitsubachi/client.rb', line 192 def script_delete project_name, script_name, ={} request = ScriptDeleteRequest.new(project_name, script_name, ) send_request(request) end |
- (Mushikago::Http::Response) script_deploy(project_name, file_or_file_name, options = {})
TODO script/deployの説明
151 152 153 154 |
# File 'lib/mushikago/mitsubachi/client.rb', line 151 def script_deploy project_name, file_or_file_name, ={} request = ScriptDeployRequest.new(project_name, file_or_file_name, ) send_request(request) end |
- (Mushikago::Http::Response) script_get(project_name, script_name, options = {})
TODO script/getの説明
179 180 181 182 |
# File 'lib/mushikago/mitsubachi/client.rb', line 179 def script_get project_name, script_name, ={} request = ScriptGetRequest.new(project_name, script_name, ) send_request(request) end |
- (Mushikago::Http::Response) script_list(project_name, options = {})
TODO script/listの説明
166 167 168 169 |
# File 'lib/mushikago/mitsubachi/client.rb', line 166 def script_list project_name, ={} request = ScriptListRequest.new(project_name, ) send_request(request) end |