softbank-healthcare-client 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -0
- data/lib/softbank_healthcare/api_client.rb +2 -2
- data/lib/softbank_healthcare/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f1fddd59328b06c0077727291c52f3d3d1e912b
|
4
|
+
data.tar.gz: d3283431c177f85faf875a8573e1dcab6c61af98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caeaea4c2985e7a419672f1ea3871efbee640f4b12e06abfc8e49f336368d652975553c2029bf837a88e7eb41f1bce05539bf85288eb25e76eae2b8e54e18354
|
7
|
+
data.tar.gz: 7f4ca251676c8e7c800e28615a697b2cd679b06aee63909376418d92614da69f5081606067be4b6e9d334ef7364d0991f17b3657f5acf7497605ba89cb4d233c
|
data/README.md
CHANGED
@@ -58,3 +58,26 @@ client.weight
|
|
58
58
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
59
59
|
4. Push to the branch (`git push origin my-new-feature`)
|
60
60
|
5. Create new Pull Request
|
61
|
+
|
62
|
+
# License
|
63
|
+
|
64
|
+
The MIT License (MIT)
|
65
|
+
|
66
|
+
Copyright (c) Shinshun Kuniyoshi 2014
|
67
|
+
|
68
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
69
|
+
this software and associated documentation files (the "Software"), to deal in
|
70
|
+
the Software without restriction, including without limitation the rights to
|
71
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
72
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
73
|
+
subject to the following conditions:
|
74
|
+
|
75
|
+
The above copyright notice and this permission notice shall be included in all
|
76
|
+
copies or substantial portions of the Software.
|
77
|
+
|
78
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
79
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
80
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
81
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
82
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
83
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -14,7 +14,7 @@ module SoftBankHealthCare
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def login(params = {})
|
17
|
-
res = @conn.post '/pc/assets/dispatcher/Register.php', {
|
17
|
+
res = @conn.post '/pc/web/assets/dispatcher/Register.php', {
|
18
18
|
userid: 1,
|
19
19
|
register_type: 3,
|
20
20
|
api_pattern: 'web_login.php',
|
@@ -120,7 +120,7 @@ module SoftBankHealthCare
|
|
120
120
|
private
|
121
121
|
def get(params = {})
|
122
122
|
res = @conn.get do |req|
|
123
|
-
req.url '/pc/assets/dispatcher/Dispatcher.php'
|
123
|
+
req.url '/pc/web/assets/dispatcher/Dispatcher.php'
|
124
124
|
req.headers['cookie'] = @cookie
|
125
125
|
req.params[:dispatcher_type] = 0
|
126
126
|
req.params.merge! params
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: softbank-healthcare-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- shunirr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.5'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: faraday
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: Softbank HealthCare Client for Ruby
|
@@ -59,7 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
-
|
62
|
+
- .gitignore
|
63
63
|
- Gemfile
|
64
64
|
- LICENSE.txt
|
65
65
|
- README.md
|
@@ -80,17 +80,17 @@ require_paths:
|
|
80
80
|
- lib
|
81
81
|
required_ruby_version: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- -
|
83
|
+
- - '>='
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - '>='
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.
|
93
|
+
rubygems_version: 2.0.14.1
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: Softbank HealthCare Client for Ruby
|