lib/timber/contexts/custom.rb in timber-1.1.3 vs lib/timber/contexts/custom.rb in timber-1.1.4
- old
+ new
@@ -16,10 +16,10 @@
@type = attributes[:type] || raise(ArgumentError.new(":type is required"))
@data = attributes[:data] || raise(ArgumentError.new(":data is required"))
end
def as_json(_options = {})
- {Timber::Object.try(type, :to_sym) => data}
+ {Timber::Util::Object.try(type, :to_sym) => data}
end
end
end
end
\ No newline at end of file