class LolApi::Configuration

Attributes

api_key[RW]

Public Class Methods

new(options = {}) click to toggle source
# File lib/lol_api/configuration.rb, line 5
def initialize(options = {})
  options.each_pair do |name, value|
    setter = "#{name}="

    if respond_to?(setter)
      public_send(setter, value)
    end
  end
end