Class: Xberg::JatsMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeJatsMetadata

Returns a new instance of JatsMetadata.

Parameters:

  • copyright: (String)
  • license: (String)
  • history_dates: (Hash[String, String])
  • contributor_roles: (Array[ContributorRole])


1549
# File 'sig/types.rbs', line 1549

def initialize: (?copyright: String, ?license: String, ?history_dates: Hash[String, String], ?contributor_roles: Array[ContributorRole]) -> void

Instance Attribute Details

#contributor_rolesArray[ContributorRole]?

Returns the value of attribute contributor_roles.

Returns:



1547
1548
1549
# File 'sig/types.rbs', line 1547

def contributor_roles
  @contributor_roles
end

Returns the value of attribute copyright.

Returns:

  • (String, nil)


1544
1545
1546
# File 'sig/types.rbs', line 1544

def copyright
  @copyright
end

#history_datesHash[String, String]?

Returns the value of attribute history_dates.

Returns:

  • (Hash[String, String], nil)


1546
1547
1548
# File 'sig/types.rbs', line 1546

def history_dates
  @history_dates
end

#licenseString?

Returns the value of attribute license.

Returns:

  • (String, nil)


1545
1546
1547
# File 'sig/types.rbs', line 1545

def license
  @license
end