authlete 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/authlete/api.rb +0 -7
- data/lib/authlete/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9f18275856c908098d681e71dec37a817607ba3
|
4
|
+
data.tar.gz: 4a3c7a9688efb5c13056bbac77bebad6ebf394f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ad511296daf3c7db50624e5f8bd68ef87f8d0142a9c3f2c97999978fa5c533fea46fcd4efbc8f1ce87bc78045e138ed17f2a0ba3171a88230397bb216c87ead
|
7
|
+
data.tar.gz: 88a4d0db508108a1f847c8e2d530291d14de74be9fde1d14d7f8870a98206b0c8c8fde86bb3167896523dc5d8011593a7f8d928faeb6c3760051c945d3014a37
|
data/lib/authlete/api.rb
CHANGED
@@ -89,7 +89,6 @@ module Authlete
|
|
89
89
|
|
90
90
|
def execute(parameters)
|
91
91
|
begin
|
92
|
-
puts "calling....."
|
93
92
|
return RestClient::Request.new(parameters).execute
|
94
93
|
rescue => e
|
95
94
|
raise create_api_exception(e)
|
@@ -100,13 +99,9 @@ module Authlete
|
|
100
99
|
message = exception.message
|
101
100
|
response = exception.response
|
102
101
|
|
103
|
-
puts "HOGE!!!!"
|
104
|
-
|
105
102
|
# Create a base exception.
|
106
103
|
authlete_exception = Authlete::Exception.new(:message => message)
|
107
104
|
|
108
|
-
puts "After exception"
|
109
|
-
|
110
105
|
if response.nil?
|
111
106
|
# No response information. Then, return an exception without HTTP
|
112
107
|
# response information.
|
@@ -131,8 +126,6 @@ module Authlete
|
|
131
126
|
return authlete_exception
|
132
127
|
end
|
133
128
|
|
134
|
-
puts "after json parse"
|
135
|
-
|
136
129
|
# Set the Authlete API result info if it's available.
|
137
130
|
if has_authlete_api_result?(response_body_json)
|
138
131
|
authlete_exception.result = Authlete::Model::Result.new(response_body_json)
|
data/lib/authlete/version.rb
CHANGED