Class: Rdmm::Resources::FloorResource

Inherits:
BaseResource show all
Defined in:
lib/rdmm/resources/floor_resource.rb

Instance Attribute Summary

Attributes inherited from BaseResource

#source

Instance Method Summary collapse

Methods inherited from BaseResource

#initialize

Constructor Details

This class inherits a constructor from Rdmm::Resources::BaseResource

Instance Method Details

#codeString?

Returns:

  • (String, nil)


5
6
7
# File 'lib/rdmm/resources/floor_resource.rb', line 5

def code
  source["code"]
end

#idInteger?

Returns:

  • (Integer, nil)


10
11
12
# File 'lib/rdmm/resources/floor_resource.rb', line 10

def id
  source["id"]
end

#nameString?

Returns:

  • (String, nil)


15
16
17
# File 'lib/rdmm/resources/floor_resource.rb', line 15

def name
  source["name"]
end

#service_codeString?

Returns:

  • (String, nil)


20
21
22
# File 'lib/rdmm/resources/floor_resource.rb', line 20

def service_code
  source["service_code"]
end

#service_nameString?

Returns:

  • (String, nil)


25
26
27
# File 'lib/rdmm/resources/floor_resource.rb', line 25

def service_name
  source["service_name"]
end

#site_codeString?

Returns:

  • (String, nil)


30
31
32
# File 'lib/rdmm/resources/floor_resource.rb', line 30

def site_code
  source["site_code"]
end

#site_nameString?

Returns:

  • (String, nil)


35
36
37
# File 'lib/rdmm/resources/floor_resource.rb', line 35

def site_name
  source["site_name"]
end