Module: WCC::Contentful::ServiceAccessors

Included in:
WebhookController
Defined in:
lib/wcc/contentful/services.rb

Overview

Include this module to define accessors for every method defined on the Services singleton.

Examples:

class MyJob < ApplicationJob
  include WCC::Contentful::ServiceAccessors

  def perform
    Page.find(...)

    store.find(...)

    client.entries(...)

    sync_engine.next
  end
end

See Also: