def config_for(environment=:development)
      if self.config.present?
        env_config = self.config[environment.to_s]
      else
        env_config = {
          'host' => ENV['RIAK_HOST'],
          'http_port' => ENV['RIAK_HTTP_PORT'],
          'pb_port' => ENV['RIAK_PB_PORT']
        }
      end
      env_config
    end
def config_for(environment=:development)
      if self.config.present?
        env_config = self.config[environment.to_s]
      else
        env_config = {
          'host' => ENV['RIAK_HOST'],
          'http_port' => ENV['RIAK_HTTP_PORT'],
          'pb_port' => ENV['RIAK_PB_PORT']
        }
      end
      env_config
    end
Return a configuration hash for a given environment
 @param [Symbol] environment Environment for which to load the client configs
 @return [Hash]