Class: Consyncful::Configuration
- Inherits:
-
Object
- Object
- Consyncful::Configuration
- Defined in:
- lib/consyncful.rb
Instance Attribute Summary collapse
-
#contentful_client_options ⇒ Object
Returns the value of attribute contentful_client_options.
-
#locale ⇒ Object
Returns the value of attribute locale.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_options ⇒ Object
Returns the value of attribute contentful_client_options.
24 25 26 |
# File 'lib/consyncful.rb', line 24 def @contentful_client_options end |
#locale ⇒ Object
Returns the value of attribute locale.
24 25 26 |
# File 'lib/consyncful.rb', line 24 def locale @locale end |