plesk_kit 2.0.12 → 2.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/plesk_kit/subscription.rb +2 -1
- data/lib/plesk_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjAwZDk5NjI2NGMyM2MxMGRjYTEwODYzYmI0MThkY2I3ZGJhY2ZkZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODUwMTRiZDZlNjdhNDRiMWZiYjQ1M2YyYjJjZDliYTRiMjdlNTRlNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDEyYjEwNTg2Y2ZmNGU3YTViN2E1ZjIzODU1Y2VjYTBkYmIxMmQ5MDk4Y2Nm
|
10
|
+
ODAzZGQ1NTk2MjI0MzQ3ZDVmYmIxM2VjOTQ1OGU2MmM1OTNjMjA0NTQ1NzVm
|
11
|
+
MTdjNGRhNjJkZjJlYmVmMDgyMGFmMzcwMTZhMzU2ZGM1MjkxYTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDgxNGFmNWExMThhMWJiNDJmNjMzZjk3NDYyYjU3MWIyYWQ0NTI2NTAzNWRj
|
14
|
+
M2Y2YTQxZTNlY2U5NWJhN2I3YTljM2ZiYTY3MjAyZTUwZjBkZTg4YWExZTc1
|
15
|
+
ZDNmZGM2YjJlNDVmN2M3MTMwZmNlYTRkY2RjOTFjNDIxYzE3OGI=
|
@@ -144,6 +144,7 @@ module PleskKit
|
|
144
144
|
def analyse_for_id response_string, customer = nil
|
145
145
|
xml = REXML::Document.new(response_string)
|
146
146
|
status = xml.root.elements['//status'].text if xml.root.elements['//status'].present?
|
147
|
+
sub_guid =''
|
147
148
|
if status == "error"
|
148
149
|
code = xml.root.elements['//errcode'].text
|
149
150
|
message = xml.root.elements['//errtext'].text
|
@@ -151,7 +152,7 @@ module PleskKit
|
|
151
152
|
else
|
152
153
|
sub_guid = xml.root.elements['//id'].text if xml.root.elements['//id'].present?
|
153
154
|
end
|
154
|
-
return
|
155
|
+
return sub_guid || true
|
155
156
|
end
|
156
157
|
|
157
158
|
end
|
data/lib/plesk_kit/version.rb
CHANGED