Class: BoringBuilder::Artifact::Entry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#destinationObject (readonly)

Returns the value of attribute destination

Returns:

  • (Object)

    the current value of destination



7
8
9
# File 'lib/boringbuilder/artifact.rb', line 7

def destination
  @destination
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



7
8
9
# File 'lib/boringbuilder/artifact.rb', line 7

def kind
  @kind
end

#originObject (readonly)

Returns the value of attribute origin

Returns:

  • (Object)

    the current value of origin



7
8
9
# File 'lib/boringbuilder/artifact.rb', line 7

def origin
  @origin
end

#sourceObject (readonly)

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



7
8
9
# File 'lib/boringbuilder/artifact.rb', line 7

def source
  @source
end

Instance Method Details

#to_hObject



8
9
10
# File 'lib/boringbuilder/artifact.rb', line 8

def to_h
  { origin: origin, kind: kind, source: source.to_s, destination: destination }
end