lib/contentful/resource.rb in contentful-0.3.4 vs lib/contentful/resource.rb in contentful-0.3.5

- old
+ new

@@ -19,10 +19,10 @@ date: ->(v) { DateTime.parse(v) } } attr_reader :properties, :request, :client, :default_locale - def initialize(object, request = nil, client = nil, nested_locale_fields = false, default_locale = Contentful::Client::DEFAULT_CONFIGURATION[:default_locale] ) + def initialize(object, request = nil, client = nil, nested_locale_fields = false, default_locale = Contentful::Client::DEFAULT_CONFIGURATION[:default_locale]) self.class.update_coercions! @nested_locale_fields = nested_locale_fields @default_locale = default_locale @properties = extract_from_object(object, :property,