Class: Gitt::Models::Tag

Inherits:
Struct
  • Object
show all
Includes:
Trailable
Defined in:
lib/gitt/models/tag.rb

Overview

Represents tag details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Trailable

#find_trailer, #find_trailers, #trailer_value_for, #trailer_values_for

Constructor Details

#initializeTag

Returns a new instance of Tag.



24
25
26
27
# File 'lib/gitt/models/tag.rb', line 24

def initialize(**)
  super
  freeze
end

Instance Attribute Details

#author_emailObject

Returns the value of attribute author_email

Returns:

  • (Object)

    the current value of author_email



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def author_email
  @author_email
end

#author_nameObject

Returns the value of attribute author_name

Returns:

  • (Object)

    the current value of author_name



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def author_name
  @author_name
end

#authored_atObject

Returns the value of attribute authored_at

Returns:

  • (Object)

    the current value of authored_at



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def authored_at
  @authored_at
end

#authored_relative_atObject

Returns the value of attribute authored_relative_at

Returns:

  • (Object)

    the current value of authored_relative_at



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def authored_relative_at
  @authored_relative_at
end

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def body
  @body
end

#committed_atObject

Returns the value of attribute committed_at

Returns:

  • (Object)

    the current value of committed_at



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def committed_at
  @committed_at
end

#committed_relative_atObject

Returns the value of attribute committed_relative_at

Returns:

  • (Object)

    the current value of committed_relative_at



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def committed_relative_at
  @committed_relative_at
end

#committer_emailObject

Returns the value of attribute committer_email

Returns:

  • (Object)

    the current value of committer_email



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def committer_email
  @committer_email
end

#committer_nameObject

Returns the value of attribute committer_name

Returns:

  • (Object)

    the current value of committer_name



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def committer_name
  @committer_name
end

#shaObject

Returns the value of attribute sha

Returns:

  • (Object)

    the current value of sha



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def sha
  @sha
end

#signatureObject

Returns the value of attribute signature

Returns:

  • (Object)

    the current value of signature



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def signature
  @signature
end

#subjectObject

Returns the value of attribute subject

Returns:

  • (Object)

    the current value of subject



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def subject
  @subject
end

#trailersObject

Returns the value of attribute trailers

Returns:

  • (Object)

    the current value of trailers



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def trailers
  @trailers
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



6
7
8
# File 'lib/gitt/models/tag.rb', line 6

def version
  @version
end