class Railsdav::Renderer::ResourceDescriptor
Attributes
props[RW]
url[RW]
Public Class Methods
new(url, props)
click to toggle source
# File lib/railsdav/renderer/resource_descriptor.rb, line 8 def initialize(url, props) @url, @props = url, props end
Public Instance Methods
collection?()
click to toggle source
# File lib/railsdav/renderer/resource_descriptor.rb, line 12 def collection? self.props[:format] == :collection end