intrinio-realtime 4.1.0 → 4.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/intrinio-realtime.rb +5 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df8c1b4a01075b66f59dd7f6fda2daa1f7b3cc1eb395f9016206d6cffe13d8bc
4
- data.tar.gz: e1d255b939ed7fa3a27f7eea2cc35fccfaec8b82cb0265d9cab326017685525f
3
+ metadata.gz: 62489e9518d298632d43fb8504c9debffe45dd6d1b46b596e7d5cdc5cfb77627
4
+ data.tar.gz: 4d7473efe7d699734c16116e27ab1a44653d21654a1c8412efdc56075f6decc5
5
5
  SHA512:
6
- metadata.gz: fdc6916b86b3823144c2f9d1b1d4905d9c9af4022e229b0a9ece88a9b639fb5ac3bdb8ae44ebce9cec5aed8ab01e6932cd9ed683e2149724ec9b43893b86f02f
7
- data.tar.gz: cfda64741414b456b33244dbcdfe67ad0ee9e604984dbee9f6c1f13bb08d0373714b7d94ef592e17db978092e10c40247a8dae9064f2745475c3f5a9b3aa5832
6
+ metadata.gz: d0ef6392d70888aa915f432da2a0fd9eae3df8043245a4e3b12d4ed4c72d71cec34da888ad8f73767e7622d1266d04dd9c4c593d7e202446ad8389cb33686078
7
+ data.tar.gz: f33a8657e2d413bf1a195a8ff4678429ad68736f87f894312d1fd8084881a9f719bece3802acbe10a4e15d590269d7e34604f5204903b77bbd15c20d3e0f3d2b
@@ -11,7 +11,8 @@ module Intrinio
11
11
  SELF_HEAL_BACKOFFS = [0, 100, 500, 1000, 2000, 5000].freeze
12
12
  REALTIME = "REALTIME".freeze
13
13
  MANUAL = "MANUAL".freeze
14
- PROVIDERS = [REALTIME, MANUAL].freeze
14
+ DELAYED_SIP = "DELAYED_SIP".freeze
15
+ PROVIDERS = [REALTIME, MANUAL, DELAYED_SIP].freeze
15
16
  ASK = "Ask".freeze
16
17
  BID = "Bid".freeze
17
18
 
@@ -350,6 +351,7 @@ module Intrinio
350
351
 
351
352
  case @provider
352
353
  when REALTIME then url = "https://realtime-mx.intrinio.com/auth"
354
+ when DELAYED_SIP then url = "https://realtime-delayed-sip.intrinio.com/auth"
353
355
  when MANUAL then url = "http://" + @ip_address + "/auth"
354
356
  end
355
357
 
@@ -370,7 +372,8 @@ module Intrinio
370
372
 
371
373
  def socket_url
372
374
  case @provider
373
- when REALTIME then "wss://realtime-mx.intrinio.com/socket/websocket?vsn=1.0.0&token=#{@token}"
375
+ when REALTIME then "wss://realtime-mx.intrinio.com/socket/websocket?vsn=1.0.0&token=#{@token}"
376
+ when DELAYED_SIP then "wss://realtime-delayed-sip.intrinio.com/socket/websocket?vsn=1.0.0&token=#{@token}"
374
377
  when MANUAL then "ws://" + @ip_address + "/socket/websocket?vsn=1.0.0&token=#{@token}"
375
378
  end
376
379
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intrinio-realtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Intrinio