Class: Coach4rb::Resource::Boxing

Inherits:
Entry show all
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 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

#numberofroundsObject Also known as: number_of_rounds

Returns the value of attribute numberofrounds.



68
69
70
# File 'lib/coach4rb/resource/entry.rb', line 68

def numberofrounds
  @numberofrounds
end

#rounddurationObject Also known as: round_duration

Returns the value of attribute roundduration.



68
69
70
# File 'lib/coach4rb/resource/entry.rb', line 68

def roundduration
  @roundduration
end

Instance Method Details

#typeObject



75
76
77
# File 'lib/coach4rb/resource/entry.rb', line 75

def type
  :boxing
end