class PUBG::Client

Client for PUBG API

Public Class Methods

new(options = {}) click to toggle source
# File lib/pubg/client.rb, line 21
def initialize(options = {})
  PUBG::Configurable.keys.each do |key|
    instance_variable_set(:"@#{key}", options[key] || PUBG.instance_variable_get(:"@#{key}"))
  end
end