lib/opentelemetry/sdk/resources/resource.rb in opentelemetry-sdk-1.2.0 vs lib/opentelemetry/sdk/resources/resource.rb in opentelemetry-sdk-1.2.1
- old
+ new
@@ -9,10 +9,10 @@
module Resources
# Resource represents a resource, which captures identifying information about the entities
# for which telemetry (metrics or traces) is reported.
class Resource
class << self
- private :new # rubocop:disable Style/AccessModifierDeclarations
+ private :new
# Returns a newly created {Resource} with the specified attributes
#
# @param [Hash{String => String, Numeric, Boolean} attributes Hash of key-value pairs to be used
# as attributes for this resource