Class: Calendav::Requests::CurrentUserPrincipal
- Inherits:
-
Object
- Object
- Calendav::Requests::CurrentUserPrincipal
- Defined in:
- lib/calendav/requests/current_user_principal.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.call ⇒ Object
10 11 12 |
# File 'lib/calendav/requests/current_user_principal.rb', line 10 def self.call(...) new(...).call end |
Instance Method Details
#call ⇒ Object
14 15 16 17 18 19 20 21 22 |
# 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 |