# class Rack::MockResponse::Cookie

### Attributes

domain[R]
expires[R]
name[R]
path[R]
secure[R]
value[R]

### Public Class Methods

new(args) click to toggle source

    # File lib/rack/mock.rb, line 181
    def initialize(args)
      @name = args["name"]
      @value = args["value"]
      @path = args["path"]
      @domain = args["domain"]
      @expires = args["expires"]
      @secure = args["secure"]
    end

### Public Instance Methods

method_missing(method_name, *args, &block) click to toggle source

    # File lib/rack/mock.rb, line 190
    def method_missing(method_name, *args, &block)
      @value.send(method_name, *args, &block)
    end

respond_to_missing?(method_name, include_all = false) click to toggle source

:nocov:

Calls superclass method

    # File lib/rack/mock.rb, line 197
    def respond_to_missing?(method_name, include_all = false)
      @value.respond_to?(method_name, include_all) || super
    end