Sha256: 6bfcad5c6731300159dbabd095c50e7aedba73cafe14ca1d66c38d2b4e097e86
Contents?: true
Size: 340 Bytes
Versions: 3
Compression:
Stored size: 340 Bytes
Contents
require 'namba/config' require 'namba/api_methods' module Namba class Client extend Config include APIMethods attr_accessor *Config::VALID_KEYS def initialize opts = Namba::Config.options Config::VALID_KEYS.each do |key| instance_variable_set("@#{key}".to_sym, opts[key]) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
namba-1.3.2 | lib/namba/client.rb |
namba-1.3.1 | lib/namba/client.rb |
namba-1.3.0 | lib/namba/client.rb |