Class: BoringBuilder::Exporters::Receipt

Inherits:
Data
  • Object
show all
Defined in:
lib/boringbuilder/exporters/receipt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path: nil, artifact_id: nil, artifact_name: nil) ⇒ Receipt

Returns a new instance of Receipt.



6
7
8
# File 'lib/boringbuilder/exporters/receipt.rb', line 6

def initialize(path: nil, artifact_id: nil, artifact_name: nil)
  super
end

Instance Attribute Details

#artifact_idObject (readonly)

Returns the value of attribute artifact_id

Returns:

  • (Object)

    the current value of artifact_id



5
6
7
# File 'lib/boringbuilder/exporters/receipt.rb', line 5

def artifact_id
  @artifact_id
end

#artifact_nameObject (readonly)

Returns the value of attribute artifact_name

Returns:

  • (Object)

    the current value of artifact_name



5
6
7
# File 'lib/boringbuilder/exporters/receipt.rb', line 5

def artifact_name
  @artifact_name
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



5
6
7
# File 'lib/boringbuilder/exporters/receipt.rb', line 5

def path
  @path
end