Class: Renderful::Provider::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/renderful/provider/base.rb

Direct Known Subclasses

Contentful, Prismic

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Base

Returns a new instance of Base.



8
9
10
# File 'lib/renderful/provider/base.rb', line 8

def initialize(options)
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/renderful/provider/base.rb', line 6

def options
  @options
end

Instance Method Details

#cache_keys_to_invalidate(_webhook_body) ⇒ Object



20
21
22
# File 'lib/renderful/provider/base.rb', line 20

def cache_keys_to_invalidate(_webhook_body)
  fail NotImplementedError
end

#cache_prefixObject



12
13
14
# File 'lib/renderful/provider/base.rb', line 12

def cache_prefix
  fail NotImplementedError
end

#find_entry(_entry_id) ⇒ Object



16
17
18
# File 'lib/renderful/provider/base.rb', line 16

def find_entry(_entry_id)
  fail NotImplementedError
end