module Rbsx
Constants
- CONFIG_ATTRS
- VERSION
Public Class Methods
configure() { |self| ... }
click to toggle source
# File lib/rbsx.rb, line 18 def self.configure(&block) yield self end
new(args={})
click to toggle source
# File lib/rbsx.rb, line 10 def self.new(args={}) config = CONFIG_ATTRS.inject({}) do |hash, config_attr| hash[config_attr] = args[config_attr] || Rbsx.send(config_attr) hash end Client.new(config) end