Sha256: a0c0b22714c6dfc2a79965215e15ec1c7a56f0b4f3320b51bb501f3d9bf7107f
Contents?: true
Size: 465 Bytes
Versions: 88
Compression:
Stored size: 465 Bytes
Contents
module Sportradar module Api class Nfl::Conference < Data attr_accessor :response, :id, :name, :alias, :divisions def initialize(data, **opts) @response = data @api = opts[:api] @id = data["id"] @name = data["name"] @alias = data["alias"] @divisions = parse_into_array(selector: response["division"], klass: Sportradar::Api::Nfl::Division) if response["division"] end end end end
Version data entries
88 entries across 88 versions & 1 rubygems