def url_object(code)
      @code_bucket.get(code, :r => 1)
    rescue Riak::FailedRequest => err
      raise unless err.not_found?
    end
def url_object(code)
      @code_bucket.get(code, :r => 1)
    rescue Riak::FailedRequest => err
      raise unless err.not_found?
    end
Retrieves a URL riak value from the code.

 code - The String code to lookup the URL.

 Returns a Riak::RObject, or nil if none is found.