Class: GreatSchools::Ethnicity

Inherits:
Model
  • Object
show all
Defined in:
lib/great_schools/ethnicity.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

#initialize

Constructor Details

This class inherits a constructor from GreatSchools::Model

Instance Attribute Details

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/great_schools/ethnicity.rb', line 3

def name
  @name
end

#valueObject

Returns the value of attribute value.



3
4
5
# File 'lib/great_schools/ethnicity.rb', line 3

def value
  @value
end

#yearObject

Returns the value of attribute year.



3
4
5
# File 'lib/great_schools/ethnicity.rb', line 3

def year
  @year
end