Sha256: 333b57abfb1d596e69a5638611de7f7f503f2df3601af71723959f6ecfc7d8f6

Contents?: true

Size: 620 Bytes

Versions: 2

Compression:

Stored size: 620 Bytes

Contents

require 'lol/model'

module Lol
  class Player < Lol::Model
    # @!attribute [r] raw
    #   @return [Hash] raw version of options Hash used to initialize Player
    attr_reader :raw

    # @!attribute [r] champion_id
    #   @return [Fixnum] Champion Id associated with player
    attr_reader :champion_id

    # @!attribute [r] summoner_id
    #   @return [Fixnum] Summoner Id associated with player
    attr_reader :summoner_id

    # @!attribute [r] team_id
    #   @return [Fixnum] Team Id associated with player
    attr_reader :team_id

    private

    attr_writer :champion_id, :summoner_id, :team_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-lol-0.0.2 lib/lol/player.rb
ruby-lol-0.0.1 lib/lol/player.rb