lib/authing_ruby/management/ManagementClient.rb in authing_ruby-1.1.2 vs lib/authing_ruby/management/ManagementClient.rb in authing_ruby-1.1.3
- old
+ new
@@ -11,10 +11,10 @@
def initialize(options = {})
@userPoolId = options.fetch(:userPoolId, nil)
@secret = options.fetch(:secret, nil)
@appId = options.fetch(:appId, nil)
- @host = options.fetch(:host, nil)
+ @host = options.fetch(:host, 'https://core.authing.cn')
@accessToken = options.fetch(:accessToken, nil)
if @userPoolId == nil && @appId == nil
raise '请提供 userPoolId 或 appId!'
end
\ No newline at end of file