Class: GpxDoctor::Models::Metadata
- Inherits:
-
Struct
- Object
- Struct
- GpxDoctor::Models::Metadata
- Defined in:
- lib/gpx_doctor/models/metadata.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#bounds ⇒ Object
Returns the value of attribute bounds.
-
#copyright ⇒ Object
Returns the value of attribute copyright.
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#keywords ⇒ Object
Returns the value of attribute keywords.
-
#links ⇒ Object
Returns the value of attribute links.
-
#name ⇒ Object
Returns the value of attribute name.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
-
#initialize ⇒ Metadata
constructor
A new instance of Metadata.
Constructor Details
#initialize ⇒ Metadata
Returns a new instance of Metadata.
9 10 11 12 |
# File 'lib/gpx_doctor/models/metadata.rb', line 9 def initialize(**) super self.links ||= [] end |
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author
5 6 7 |
# File 'lib/gpx_doctor/models/metadata.rb', line 5 def @author end |
#bounds ⇒ Object
Returns the value of attribute bounds
5 6 7 |
# File 'lib/gpx_doctor/models/metadata.rb', line 5 def bounds @bounds end |
#copyright ⇒ Object
Returns the value of attribute copyright
5 6 7 |
# File 'lib/gpx_doctor/models/metadata.rb', line 5 def copyright @copyright end |
#desc ⇒ Object
Returns the value of attribute desc
5 6 7 |
# File 'lib/gpx_doctor/models/metadata.rb', line 5 def desc @desc end |
#keywords ⇒ Object
Returns the value of attribute keywords
5 6 7 |
# File 'lib/gpx_doctor/models/metadata.rb', line 5 def keywords @keywords end |
#links ⇒ Object
Returns the value of attribute links
5 6 7 |
# File 'lib/gpx_doctor/models/metadata.rb', line 5 def links @links end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/gpx_doctor/models/metadata.rb', line 5 def name @name end |
#time ⇒ Object
Returns the value of attribute time
5 6 7 |
# File 'lib/gpx_doctor/models/metadata.rb', line 5 def time @time end |