Sha256: 8d8f04a3560a92cf88de14bb39636aca97c156401e5f55997fffef4355b1795e
Contents?: true
Size: 569 Bytes
Versions: 19
Compression:
Stored size: 569 Bytes
Contents
module Sources # Sources are where your data comes from. # Harvest is the most important method as it is used always to get data. # class Base # Note: Methods listed for illustrative purposes. # # Yield the data (id, text for id) for the given type and field. # def harvest type, field # yields nothing end # Connects to the backend. # def connect_backend end # Take a snapshot of your data, if it is fast changing. # def take_snapshot type end end end
Version data entries
19 entries across 19 versions & 1 rubygems