lib/contentful/management/client.rb in contentful-management-0.0.3 vs lib/contentful/management/client.rb in contentful-management-0.1.0

- old
+ new

@@ -20,19 +20,18 @@ DEFAULT_CONFIGURATION = { api_url: 'api.contentful.com', api_version: '1', secure: true, - default_locale: 'en-US', + default_locale: 'en-US' } def initialize(access_token = nil, configuration = {}) @configuration = default_configuration.merge(configuration) @access_token = access_token @dynamic_entry_cache = {} Thread.current[:client] = self end - def update_dynamic_entry_cache_for_spaces!(spaces) spaces.each do |space| update_dynamic_entry_cache_for_space!(space) end