Class: Datadog::Core::Remote::Configuration::Repository::Change::Inserted

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/core/remote/configuration/repository.rb

Overview

Insert change

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, content) ⇒ Inserted

Returns a new instance of Inserted.



250
251
252
253
# File 'lib/datadog/core/remote/configuration/repository.rb', line 250

def initialize(path, content)
  @path = path
  @content = content
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



248
249
250
# File 'lib/datadog/core/remote/configuration/repository.rb', line 248

def content
  @content
end

#pathObject (readonly)

Returns the value of attribute path.



248
249
250
# File 'lib/datadog/core/remote/configuration/repository.rb', line 248

def path
  @path
end

Instance Method Details

#typeObject



255
256
257
# File 'lib/datadog/core/remote/configuration/repository.rb', line 255

def type
  :insert
end