Class: Consyncful::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



26
27
28
29
30
31
# File 'lib/consyncful.rb', line 26

def initialize
  @contentful_client_options = {
    api_url: 'cdn.contentful.com'
  }
  @locale = 'en-US'
end

Instance Attribute Details

#contentful_client_optionsObject

Returns the value of attribute contentful_client_options.



24
25
26
# File 'lib/consyncful.rb', line 24

def contentful_client_options
  @contentful_client_options
end

#localeObject

Returns the value of attribute locale.



24
25
26
# File 'lib/consyncful.rb', line 24

def locale
  @locale
end