Class: IronHide::AbstractAdapter Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/iron_hide/storage.rb

Overview

This class is abstract.

Subclass and override #where to implement an Adapter class

Direct Known Subclasses

Storage::FileAdapter

Instance Method Summary collapse

Instance Method Details

#where(opts = {}) ⇒ Object

Parameters:

  • opts (Hash) (defaults to: {})

    a customizable set of options

Options Hash (opts):

  • :resource (String)

    required

  • :action (String)

    required

Raises:

  • (NotImplementedError)


31
32
33
# File 'lib/iron_hide/storage.rb', line 31

def where(opts = {})
  raise NotImplementedError
end