module Consyncful

Constants

DEFAULT_CLIENT_OPTIONS
VERSION

Public Class Methods

client() click to toggle source
# File lib/consyncful.rb, line 43
def client
  @client ||= begin
    options = Consyncful.configuration.contentful_client_options
    options.reverse_merge!(DEFAULT_CLIENT_OPTIONS)
    Contentful::Client.new(options)
  end
end
configuration() click to toggle source
# File lib/consyncful.rb, line 35
def configuration
  @configuration ||= Configuration.new
end
configure() { |configuration| ... } click to toggle source
# File lib/consyncful.rb, line 39
def configure
  yield configuration
end