Class: LearnSprout::Nces

Inherits:
Object
  • Object
show all
Defined in:
lib/learnsprout/nces.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

Returns the value of attribute district_id.



4
5
6
# File 'lib/learnsprout/nces.rb', line 4

def district_id
  @district_id
end

#school_idObject

Returns the value of attribute school_id.



4
5
6
# File 'lib/learnsprout/nces.rb', line 4

def school_id
  @school_id
end