class Rets::Metadata::NullCache

This type of metadata cache, which is the default, neither saves nor restores.

Public Instance Methods

load(&_block) click to toggle source

Load the metadata. Should yield an IO-like object to a block; that block will deserialize the metadata from that object and return the metadata. Returns the metadata, or nil if it could not be loaded.

# File lib/rets/metadata/null_cache.rb, line 17
def load(&_block)
  nil
end
save(&_block) click to toggle source

Save the metadata. Should yield an IO-like object to a block; that block will serialize the metadata to that object.

# File lib/rets/metadata/null_cache.rb, line 10
def save(&_block)
end