lib/stream/client.rb in stream-ruby-2.1.1 vs lib/stream/client.rb in stream-ruby-2.1.2
- old
+ new
@@ -3,10 +3,10 @@
require 'stream/feed'
require 'stream/signer'
module Stream
- STREAM_URL_RE = /https\:\/\/(?<key>\w+)\:(?<secret>\w+)@((api\.)|(api-(?<location>[-\w]+)\.))?getstream\.io\/?*.app_id=(?<app_id>\d+)/i
+ STREAM_URL_RE = /https\:\/\/(?<key>\w+)\:(?<secret>\w+)@((api\.)|((?<location>[-\w]+)\.))?getstream\.io\/?*.app_id=(?<app_id>\d+)/i
class Client
attr_reader :api_key
attr_reader :api_secret
attr_reader :app_id