module Restforce::Concerns::Base

def initialize(opts = {})

def initialize(opts = {})
  raise ArgumentError, 'Please specify a hash of options' unless opts.is_a?(Hash)
  @options = Hash[Restforce.configuration.options.map do |option|
    [option, Restforce.configuration.send(option)]
  end]
  @options.merge! opts
  yield builder if block_given?
end