sportradar-api 0.10.23 → 0.10.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65783888edf481b1f619d7ff0458fb84be0f30fb
4
- data.tar.gz: 27b7d237329cb9c4ba0f80e20cd8b2b6ba118bde
3
+ metadata.gz: b64cd13791f72efc0e7eb122b745aabdc1072ff1
4
+ data.tar.gz: e488944d525eae56244c74ab66d67b83259431cd
5
5
  SHA512:
6
- metadata.gz: 862807b854514ed15d1e77cd4ad62d73460d226c072a6285c90c89c121d6cb866c1a055e52cb9017c7ddaacd1e71ecc242ae65274bb095bc80f19dc121ce1d21
7
- data.tar.gz: 8d1ec43a7d5a23ff71b9d883a3a54419eaa52a5519d58e6914e5b5c51153749f035fd7f288f774439f1abf92a1e239cfa166fb0d14474d0a510a707b4afea306
6
+ metadata.gz: eb7278608d3e13b5eb3470ce17572a5b35e582ef1d8b9ec1ba44903b797455e74244e0742d714e817eb0177b3168e23efd3d8ada343d7e35899fc5361d9bf725
7
+ data.tar.gz: a44325e313df86a60e3496d4afe3fda4eca561b4f05e811c8944d1d38b60fa61b1f0fd93357c61efbdd3ae06561bab78f6897e51137944f02099648295736b5e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportradar-api (0.10.23)
4
+ sportradar-api (0.10.24)
5
5
  activesupport
6
6
  httparty (>= 0.14.0)
7
7
 
@@ -2,7 +2,7 @@ module Sportradar
2
2
  module Api
3
3
  module Baseball
4
4
  class Pitch < Data
5
- attr_accessor :response, :id, :at_bat, :outcome_id, :status, :count, :is_ab_over, :warming_up, :runners
5
+ attr_accessor :response, :id, :at_bat, :outcome_id, :status, :count, :is_ab_over, :warming_up, :runners, :errors
6
6
 
7
7
  def initialize(data, **opts)
8
8
  @response = data
@@ -47,7 +47,7 @@ module Sportradar
47
47
  end
48
48
 
49
49
  def parse_errors(data)
50
- @runners = data.map { |hash| Error.new(hash) }
50
+ @errors = data.map { |hash| Error.new(hash) }
51
51
  end
52
52
 
53
53
  def parse_fielders(data)
@@ -1,5 +1,5 @@
1
1
  module Sportradar
2
2
  module Api
3
- VERSION = "0.10.23"
3
+ VERSION = "0.10.24"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportradar-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.23
4
+ version: 0.10.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett