Sha256: ee34e6f8d56496b1ec2cd1f84752c1cd93f0beadfe11783c5fd3f09051c59cf1

Contents?: true

Size: 1.21 KB

Versions: 19

Compression:

Stored size: 1.21 KB

Contents

module Lol
  class Champion < Lol::Model
    # @!attribute [r] id
    # @return [Fixnum] id of Champion
    attr_reader :id

    # @!attribute [r] active
    # @return [true] if the Champion is active
    # @return [false] if the Champion is disabled
    attr_reader :active

    # @!attribute [r] bot_enabled
    # @return [true] if the Champion is enabled in custom bot games
    # @return [false] if the Champion is disabled in custom bot games
    attr_reader :bot_enabled

    # @!attribute [r] free_to_play
    # @return [true] if the Champion is currently free to play
    # @return [false] if the Champion isn't currently free to play
    attr_reader :free_to_play

    # @!attribute [r] bot_mm_enabled
    # @return [true] if the Champion is enabled in match made bot games
    # @return [false] if the Champion is disabled in match made bot games
    attr_reader :bot_mm_enabled

    # @!attribute [r] ranked_play_enabled
    # @return [true] if the Champion is enabled in ranked play
    # @return [false] if the Champion is disabled in ranked play
    attr_reader :ranked_play_enabled

    private

    attr_writer :id, :active, :bot_enabled, :free_to_play, :bot_mm_enabled,
                :ranked_play_enabled
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ruby-lol-0.12.2 lib/lol/champion.rb
ruby-lol-0.12.1 lib/lol/champion.rb
ruby-lol-0.12.0 lib/lol/champion.rb
ruby-lol-0.11.6 lib/lol/champion.rb
ruby-lol-0.11.5 lib/lol/champion.rb
ruby-lol-0.11.4 lib/lol/champion.rb
ruby-lol-0.11.3 lib/lol/champion.rb
ruby-lol-0.11.2 lib/lol/champion.rb
ruby-lol-0.11.1 lib/lol/champion.rb
ruby-lol-0.11.0 lib/lol/champion.rb
ruby-lol-0.10.0 lib/lol/champion.rb
ruby-lol-0.9.19.1 lib/lol/champion.rb
ruby-lol-0.9.19 lib/lol/champion.rb
ruby-lol-0.9.18 lib/lol/champion.rb
ruby-lol-0.9.17 lib/lol/champion.rb
ruby-lol-0.9.16 lib/lol/champion.rb
ruby-lol-0.9.15 lib/lol/champion.rb
ruby-lol-0.9.14 lib/lol/champion.rb
ruby-lol-0.9.13 lib/lol/champion.rb