Sha256: 39f3d36836feab0f78a70321b9e5935e3de5b8f149dd185074160c90855360bb

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

module Lolxin
  class GameInfoDto
    attr_accessor(*%i(
      game_id
      game_start_time
      platform_id
      game_mode
      map_id
      game_type
      banned_champions
      observers
      participants
      game_length
      game_queue_config_id
      data
    ))

    def initialize(data)
      @data = data
      initialize_with(data)
    end

    private

    # TODO: finish this
    def initialize_with(data)
    end
  end

  CurrentGameInfoDto = FeaturedGameInfoDto = GameInfoDto
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lolxin-0.13.0 lib/lolxin/dto/game_info_dto.rb