Class: Coach4rb::Resource::Cycling

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

#bicycletypeObject Also known as: bicycle_type

Returns the value of attribute bicycletype.



95
96
97
# File 'lib/coach4rb/resource/entry.rb', line 95

def bicycletype
  @bicycletype
end

#courselengthObject Also known as: course_length

Returns the value of attribute courselength.



95
96
97
# File 'lib/coach4rb/resource/entry.rb', line 95

def courselength
  @courselength
end

#coursetypeObject Also known as: course_type

Returns the value of attribute coursetype.



95
96
97
# File 'lib/coach4rb/resource/entry.rb', line 95

def coursetype
  @coursetype
end

#numberofroundsObject Also known as: number_of_rounds

Returns the value of attribute numberofrounds.



95
96
97
# File 'lib/coach4rb/resource/entry.rb', line 95

def numberofrounds
  @numberofrounds
end

#trackObject

Returns the value of attribute track.



95
96
97
# File 'lib/coach4rb/resource/entry.rb', line 95

def track
  @track
end

Instance Method Details

#typeObject



104
105
106
# File 'lib/coach4rb/resource/entry.rb', line 104

def type
  :cycling
end