lib/imperituroard/projects/iot/hua_oceanconnect_adapter.rb in imperituroard-1.1.20 vs lib/imperituroard/projects/iot/hua_oceanconnect_adapter.rb in imperituroard-1.1.21
- old
+ new
@@ -32,12 +32,12 @@
end
def parse_token(str)
begin
dd = str.split(",")
- acc_token = ""
- refr_token = ""
- exp_in = ""
+ acc_token = ''
+ refr_token = ''
+ exp_in = ''
access_token = /"accessToken":"(\S+)"/
refresh_token = /"refreshToken":"(.+)"/
expires_in = /"expiresIn":(\d+)/
\ No newline at end of file