Class: Coach4rb::Resource::Running

Inherits:
Entry show all
Includes:
Mixin::TrackReader
Defined in:
lib/coach4rb/resource/entry.rb

Constant Summary

Constants inherited from Entry

Entry::CLASS

Instance Attribute Summary collapse

Attributes inherited from Entry

#comment, #datecreated, #datemodified, #entrydate, #entryduration, #entrylocation, #id, #subscription, #uri

Attributes inherited from Entity

#links, #uri

Instance Method Summary collapse

Methods included from Mixin::TrackReader

included

Methods inherited from Entry

from_coach

Methods inherited from Entity

#[], #each, #entity_path, from_coach

Methods included from Mixin::AsHash

included

Methods included from Mixin::Iterable

included

Methods included from Mixin::AutoConstructor

included

Instance Attribute Details

#courselengthObject Also known as: course_length

Returns the value of attribute courselength.



52
53
54
# File 'lib/coach4rb/resource/entry.rb', line 52

def courselength
  @courselength
end

#coursetypeObject Also known as: course_type

Returns the value of attribute coursetype.



52
53
54
# File 'lib/coach4rb/resource/entry.rb', line 52

def coursetype
  @coursetype
end

#numberofroundsObject Also known as: number_of_rounds

Returns the value of attribute numberofrounds.



52
53
54
# File 'lib/coach4rb/resource/entry.rb', line 52

def numberofrounds
  @numberofrounds
end

#trackObject

Returns the value of attribute track.



52
53
54
# File 'lib/coach4rb/resource/entry.rb', line 52

def track
  @track
end

Instance Method Details

#typeObject



59
60
61
# File 'lib/coach4rb/resource/entry.rb', line 59

def type
  :running
end