Class: GpxDoctor::Models::Metadata

Inherits:
Struct
  • Object
show all
Defined in:
lib/gpx_doctor/models/metadata.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMetadata

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

#authorObject

Returns the value of attribute author

Returns:

  • (Object)

    the current value of author



5
6
7
# File 'lib/gpx_doctor/models/metadata.rb', line 5

def author
  @author
end

#boundsObject

Returns the value of attribute bounds

Returns:

  • (Object)

    the current value of bounds



5
6
7
# File 'lib/gpx_doctor/models/metadata.rb', line 5

def bounds
  @bounds
end

Returns the value of attribute copyright

Returns:

  • (Object)

    the current value of copyright



5
6
7
# File 'lib/gpx_doctor/models/metadata.rb', line 5

def copyright
  @copyright
end

#descObject

Returns the value of attribute desc

Returns:

  • (Object)

    the current value of desc



5
6
7
# File 'lib/gpx_doctor/models/metadata.rb', line 5

def desc
  @desc
end

#keywordsObject

Returns the value of attribute keywords

Returns:

  • (Object)

    the current value of keywords



5
6
7
# File 'lib/gpx_doctor/models/metadata.rb', line 5

def keywords
  @keywords
end

Returns the value of attribute links

Returns:

  • (Object)

    the current value of links



5
6
7
# File 'lib/gpx_doctor/models/metadata.rb', line 5

def links
  @links
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/gpx_doctor/models/metadata.rb', line 5

def name
  @name
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



5
6
7
# File 'lib/gpx_doctor/models/metadata.rb', line 5

def time
  @time
end