Sha256: 38a38d47c312f49b619fc7064ce01045677aed1ae4665ff706d2ca7ca5bf8087

Contents?: true

Size: 224 Bytes

Versions: 9

Compression:

Stored size: 224 Bytes

Contents

module MLBGameday
  class Division
    attr_reader :id, :league, :name, :teams

    def initialize(id:, league:, name:, teams:)
      @id = id
      @league = league
      @name = name
      @teams = teams
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mlb_gameday-0.1.9 lib/mlb_gameday/division.rb
mlb_gameday-0.1.8 lib/mlb_gameday/division.rb
mlb_gameday-0.1.7 lib/mlb_gameday/division.rb
mlb_gameday-0.1.6 lib/mlb_gameday/division.rb
mlb_gameday-0.1.5 lib/mlb_gameday/division.rb
mlb_gameday-0.1.4 lib/mlb_gameday/division.rb
mlb_gameday-0.1.3 lib/mlb_gameday/division.rb
mlb_gameday-0.1.2 lib/mlb_gameday/division.rb
mlb_gameday-0.1.1 lib/mlb_gameday/division.rb