class Calendav::MultiResponse

Attributes

document[R]

Public Class Methods

new(document) click to toggle source
# File lib/calendav/multi_response.rb, line 7
def initialize(document)
  @document = document
end

Public Instance Methods

each(...) click to toggle source
# File lib/calendav/multi_response.rb, line 11
def each(...)
  responses.each(...)
end
xpath(...) click to toggle source
# File lib/calendav/multi_response.rb, line 15
def xpath(...)
  document.xpath(...)
end

Private Instance Methods

responses() click to toggle source
# File lib/calendav/multi_response.rb, line 23
def responses
  document.xpath("/dav:multistatus/dav:response")
end