class Calendav::Requests::CurrentUserPrincipal
Public Class Methods
call(...)
click to toggle source
# File lib/calendav/requests/current_user_principal.rb, line 10 def self.call(...) new(...).call end
Public Instance Methods
call()
click to toggle source
# File lib/calendav/requests/current_user_principal.rb, line 14 def call Nokogiri::XML::Builder.new do |xml| xml["dav"].propfind(NAMESPACES) do xml["dav"].prop do xml["dav"].public_send(:"current-user-principal") end end end end