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])


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

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:



1521
1522
1523
# File 'sig/types.rbs', line 1521

def contributor_roles
  @contributor_roles
end

Returns the value of attribute copyright.

Returns:

  • (String, nil)


1518
1519
1520
# File 'sig/types.rbs', line 1518

def copyright
  @copyright
end

#history_datesHash[String, String]?

Returns the value of attribute history_dates.

Returns:

  • (Hash[String, String], nil)


1520
1521
1522
# File 'sig/types.rbs', line 1520

def history_dates
  @history_dates
end

#licenseString?

Returns the value of attribute license.

Returns:

  • (String, nil)


1519
1520
1521
# File 'sig/types.rbs', line 1519

def license
  @license
end