module DataKitten::Origins::JSON
JSON
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/json.rb, line 13 def self.supported?(resource) resource.json? 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/json.rb, line 22 def origin :json end