module RiotLolApi::Concern::Init
Public Class Methods
new(options = {})
click to toggle source
# File lib/riot_lol_api/concerns/inits.rb, line 4 def initialize(options = {}) options.each do |key, value| self.class.send(:attr_accessor, key.to_sym) instance_variable_set("@#{key}", value) end end