   @endpoint: 'http://localhost:4567'
   @defaults:
     path: '/'
+    expires: 600
 
   constructor: (name, options = {}) ->
     unless name

  # Complete Cookie

  setPersistCompleteCookie: =>
    @setCookie("abbaPersistComplete_#{@name}", '1', expires: 600)

  hasPersistCompleteCookie: =>
    !!@getCookie("abbaPersistComplete_#{@name}")

    @getCookie("abbaVariant_#{@name}")

  setVariantCookie: (value) =>
    @setCookie("abbaVariant_#{@name}", value, expires: @options.expires)

  removeVariantCookie: =>
    @setCookie("abbaVariant_#{@name}", '', expires: true)
