module DataKitten::Origins::HTML

HTML 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/html.rb, line 13
def self.supported?(resource)
  resource.html?
end

Public Instance Methods

origin() click to toggle source

The origin type of the dataset. @return [Symbol] :html @see Dataset#origin

# File lib/data_kitten/origins/html.rb, line 22
def origin
  :html
end