def singleton_uri(input, kind)
      case input.to_s
      when /^\d+/
        ::URI.parse("https://api.tenderapp.com/#{site}/#{kind}/#{input}")
      when %r[^https?://api\.tenderapp\.com/#{site}/#{kind}/\d+]
        ::URI.parse(input.to_s)
      else
        raise Love::Exception, "This does not appear to be a Tender #{kind} URI or ID!"
      end
    end
def singleton_uri(input, kind)
      case input.to_s
      when /^\d+/
        ::URI.parse("https://api.tenderapp.com/#{site}/#{kind}/#{input}")
      when %r[^https?://api\.tenderapp\.com/#{site}/#{kind}/\d+]
        ::URI.parse(input.to_s)
      else
        raise Love::Exception, "This does not appear to be a Tender #{kind} URI or ID!"
      end
    end
Returns a resource URI, based on an URI instance, a complete URI string or just a resource ID.
 @param [Object input The complete URI or just resource ID as URI, String or Integer.
 @param [String] kind The kind of resource.
 @return [URI] The URI on which the REST resource  is accessible through the Tender REST API.
 @raise [Love::Exception] If the input cannot be converted into a resource URI.