Class: LearnSprout::Nces
- Inherits:
-
Object
- Object
- LearnSprout::Nces
- Defined in:
- lib/learnsprout/nces.rb
Instance Attribute Summary collapse
-
#district_id ⇒ Object
Returns the value of attribute district_id.
-
#school_id ⇒ Object
Returns the value of attribute school_id.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Nces
constructor
A new instance of Nces.
Constructor Details
#initialize(attrs = {}) ⇒ Nces
Returns a new instance of Nces.
7 8 9 10 |
# File 'lib/learnsprout/nces.rb', line 7 def initialize(attrs={}) @district_id = attrs["district_id"] @school_id = attrs["school_id"] end |
Instance Attribute Details
#district_id ⇒ Object
Returns the value of attribute district_id.
4 5 6 |
# File 'lib/learnsprout/nces.rb', line 4 def district_id @district_id end |
#school_id ⇒ Object
Returns the value of attribute school_id.
4 5 6 |
# File 'lib/learnsprout/nces.rb', line 4 def school_id @school_id end |