module DataKitten::Origins::LinkedData
Linked Data origin module. Automatically mixed into {Dataset} for datasets that are accessed through an API.
@see Dataset
Private Class Methods
supported?(resource)
click to toggle source
# File lib/data_kitten/origins/linked_data.rb, line 13 def self.supported?(resource) if type = resource.content_type_format RDF::Format.content_types.keys.include?(type) end end
Public Instance Methods
origin()
click to toggle source
The origin type of the dataset. @return [Symbol] :linkeddata
@see Dataset#origin
# File lib/data_kitten/origins/linked_data.rb, line 24 def origin :linkeddata end