File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 66require 'stream/url'
77
88module Stream
9- STREAM_URL_COM_RE = %r{https://(?<key>\w +):(?<secret>\w +)@((api\. )|((?<location>[-\w ]+)\. ))?(?<api_hostname>stream-io-api\. com)/[\w =-?%&]+app_id=(?<app_id>\d +)}i . freeze
10- STREAM_URL_IO_RE = %r{https://(?<key>\w +):(?<secret>\w +)@((api\. )|((?<location>[-\w ]+)\. ))?(?<api_hostname>getstream\. io)/[\w =-?%&]+app_id=(?<app_id>\d +)}i . freeze
9+ STREAM_URL_COM_RE = %r{https://(?<key>\w +):(?<secret>\w +)@((api\. )|((?<location>[-\w ]+)\. ))?(?<api_hostname>stream-io-api\. com)/[\w =-?%&]+app_id=(?<app_id>\d +)}i
10+ STREAM_URL_IO_RE = %r{https://(?<key>\w +):(?<secret>\w +)@((api\. )|((?<location>[-\w ]+)\. ))?(?<api_hostname>getstream\. io)/[\w =-?%&]+app_id=(?<app_id>\d +)}i
1111
1212 class Client
1313 attr_reader :api_key
You can’t perform that action at this time.
0 commit comments