Class: Metanorma::Release::DocumentSource

Inherits:
Struct
  • Object
show all
Defined in:
lib/metanorma/release/document_index.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ownerObject

Returns the value of attribute owner

Returns:

  • (Object)

    the current value of owner



13
14
15
# File 'lib/metanorma/release/document_index.rb', line 13

def owner
  @owner
end

#release_dateObject

Returns the value of attribute release_date

Returns:

  • (Object)

    the current value of release_date



13
14
15
# File 'lib/metanorma/release/document_index.rb', line 13

def release_date
  @release_date
end

#release_urlObject

Returns the value of attribute release_url

Returns:

  • (Object)

    the current value of release_url



13
14
15
# File 'lib/metanorma/release/document_index.rb', line 13

def release_url
  @release_url
end

#repoObject

Returns the value of attribute repo

Returns:

  • (Object)

    the current value of repo



13
14
15
# File 'lib/metanorma/release/document_index.rb', line 13

def repo
  @repo
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



13
14
15
# File 'lib/metanorma/release/document_index.rb', line 13

def tag
  @tag
end

Instance Method Details

#repo_keyObject



17
18
19
# File 'lib/metanorma/release/document_index.rb', line 17

def repo_key
  "#{owner}/#{repo}"
end