Method: RCAP::Base::Resource#to_yaml_data

Defined in:
lib/rcap/base/resource.rb

#to_yaml_dataObject



118
119
120
121
122
123
124
# File 'lib/rcap/base/resource.rb', line 118

def to_yaml_data
  RCAP.attribute_values_to_hash([RESOURCE_DESC_YAML, @resource_desc],
                                [URI_YAML,           @uri],
                                [MIME_TYPE_YAML,     @mime_type],
                                [SIZE_YAML,          @size],
                                [DIGEST_YAML,        @digest])
end