Class: ClassRoom

Inherits:
Object
  • Object
show all
Defined in:
lib/magister/types/classroom.rb

Overview

This class represents a physical classroom.

Instance Method Summary collapse

Constructor Details

#initialize(rawParsed) ⇒ ClassRoom

Returns a new instance of ClassRoom.

Parameters:

  • rawParsed (Hash)

    The raw data, yet it has already been parsed (like with JSON.parse)

Since:

  • 1.1.0



10
11
12
# File 'lib/magister/types/classroom.rb', line 10

def initialize(rawParsed)
  @name = rawParsed["Naam"]
end

Instance Method Details

#nameString

The name of the class

Returns:

  • (String)

    name

Since:

  • 1.1.0



17
18
19
# File 'lib/magister/types/classroom.rb', line 17

def name
    @name
end