Class: CarmelHockey::Team

Inherits:
Object
  • Object
show all
Includes:
HockeyModel
Defined in:
lib/carmel_hockey/team.rb

Instance Attribute Summary collapse

Method Summary

Methods included from HockeyModel

#attributes

Instance Attribute Details

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/carmel_hockey/team.rb', line 7

def id
  @id
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/carmel_hockey/team.rb', line 7

def name
  @name
end