Sha256: 07c495b2eb4b9adf49988b8b226cbfa84eb1f9d68bbc39e49b3eafcf5c50cc45
Contents?: true
Size: 426 Bytes
Versions: 24
Compression:
Stored size: 426 Bytes
Contents
module Sportradar module Api class Nfl::Conference < Data attr_accessor :response, :id, :name, :alias, :divisions def initialize(data) @response = data @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
24 entries across 24 versions & 1 rubygems