class Pincers::Core::Cookies

Public Class Methods

new(_backend) click to toggle source
# File lib/pincers/core/cookies.rb, line 7
def initialize(_backend)
  @backend = _backend
end

Public Instance Methods

each() { |open_struct c| ... } click to toggle source
# File lib/pincers/core/cookies.rb, line 11
def each
  @backend.fetch_cookies.each { |c| yield OpenStruct.new c }
end