Class: GetRoomOptions::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/get_room_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(room_type: nil, room_type_id: nil, room_type_key: nil, room_quoting_method_options: [], room_quoting_method: nil, environment: nil, sub_floor_type_options: [], sub_floor_type_options_by_key: [], sub_floor_type: nil, sub_floor_type_id: nil, sub_floor_type_key: nil, floor_type_options: [], floor_type_options_by_key: [], floor_type: nil, floor_type_id: nil, floor_type_key: nil, heating_system_product_line_options: [], heating_system_product_line_options_by_url: [], heating_system_product_line: nil, heating_system_product_line_id: nil, heating_system_product_line_url: nil, voltage_options: [], voltage_id: nil, require_cable_spacing: nil, cable_spacing_options: [], cable_spacing: nil, all_alternate_heplo_options: [], alternate_heplo_ids: [], coverage_state: nil, coverage_options: [], room_name: nil, membrane_type: nil, membrane_options: []) ⇒ Result

Returns a new instance of Result.



6
# File 'app/services/get_room_options.rb', line 6

def initialize(room_type: nil, room_type_id: nil, room_type_key: nil, room_quoting_method_options: [], room_quoting_method: nil, environment: nil, sub_floor_type_options: [], sub_floor_type_options_by_key: [], sub_floor_type: nil, sub_floor_type_id: nil, sub_floor_type_key: nil, floor_type_options: [], floor_type_options_by_key: [], floor_type: nil, floor_type_id: nil, floor_type_key: nil, heating_system_product_line_options: [], heating_system_product_line_options_by_url: [], heating_system_product_line: nil, heating_system_product_line_id: nil, heating_system_product_line_url: nil, voltage_options: [], voltage_id: nil, require_cable_spacing: nil, cable_spacing_options: [], cable_spacing: nil, all_alternate_heplo_options: [], alternate_heplo_ids: [], coverage_state: nil, coverage_options: [], room_name: nil, membrane_type: nil, membrane_options: []) = super

Instance Attribute Details

#all_alternate_heplo_optionsObject (readonly)

Returns the value of attribute all_alternate_heplo_options

Returns:

  • (Object)

    the current value of all_alternate_heplo_options



5
6
7
# File 'app/services/get_room_options.rb', line 5

def all_alternate_heplo_options
  @all_alternate_heplo_options
end

#alternate_heplo_idsObject (readonly)

Returns the value of attribute alternate_heplo_ids

Returns:

  • (Object)

    the current value of alternate_heplo_ids



5
6
7
# File 'app/services/get_room_options.rb', line 5

def alternate_heplo_ids
  @alternate_heplo_ids
end

#cable_spacingObject (readonly)

Returns the value of attribute cable_spacing

Returns:

  • (Object)

    the current value of cable_spacing



5
6
7
# File 'app/services/get_room_options.rb', line 5

def cable_spacing
  @cable_spacing
end

#cable_spacing_optionsObject (readonly)

Returns the value of attribute cable_spacing_options

Returns:

  • (Object)

    the current value of cable_spacing_options



5
6
7
# File 'app/services/get_room_options.rb', line 5

def cable_spacing_options
  @cable_spacing_options
end

#coverage_optionsObject (readonly)

Returns the value of attribute coverage_options

Returns:

  • (Object)

    the current value of coverage_options



5
6
7
# File 'app/services/get_room_options.rb', line 5

def coverage_options
  @coverage_options
end

#coverage_stateObject (readonly)

Returns the value of attribute coverage_state

Returns:

  • (Object)

    the current value of coverage_state



5
6
7
# File 'app/services/get_room_options.rb', line 5

def coverage_state
  @coverage_state
end

#environmentObject (readonly)

Returns the value of attribute environment

Returns:

  • (Object)

    the current value of environment



5
6
7
# File 'app/services/get_room_options.rb', line 5

def environment
  @environment
end

#floor_typeObject (readonly)

Returns the value of attribute floor_type

Returns:

  • (Object)

    the current value of floor_type



5
6
7
# File 'app/services/get_room_options.rb', line 5

def floor_type
  @floor_type
end

#floor_type_idObject (readonly)

Returns the value of attribute floor_type_id

Returns:

  • (Object)

    the current value of floor_type_id



5
6
7
# File 'app/services/get_room_options.rb', line 5

def floor_type_id
  @floor_type_id
end

#floor_type_keyObject (readonly)

Returns the value of attribute floor_type_key

Returns:

  • (Object)

    the current value of floor_type_key



5
6
7
# File 'app/services/get_room_options.rb', line 5

def floor_type_key
  @floor_type_key
end

#floor_type_optionsObject (readonly)

Returns the value of attribute floor_type_options

Returns:

  • (Object)

    the current value of floor_type_options



5
6
7
# File 'app/services/get_room_options.rb', line 5

def floor_type_options
  @floor_type_options
end

#floor_type_options_by_keyObject (readonly)

Returns the value of attribute floor_type_options_by_key

Returns:

  • (Object)

    the current value of floor_type_options_by_key



5
6
7
# File 'app/services/get_room_options.rb', line 5

def floor_type_options_by_key
  @floor_type_options_by_key
end

#heating_system_product_lineObject (readonly)

Returns the value of attribute heating_system_product_line

Returns:

  • (Object)

    the current value of heating_system_product_line



5
6
7
# File 'app/services/get_room_options.rb', line 5

def heating_system_product_line
  @heating_system_product_line
end

#heating_system_product_line_idObject (readonly)

Returns the value of attribute heating_system_product_line_id

Returns:

  • (Object)

    the current value of heating_system_product_line_id



5
6
7
# File 'app/services/get_room_options.rb', line 5

def heating_system_product_line_id
  @heating_system_product_line_id
end

#heating_system_product_line_optionsObject (readonly)

Returns the value of attribute heating_system_product_line_options

Returns:

  • (Object)

    the current value of heating_system_product_line_options



5
6
7
# File 'app/services/get_room_options.rb', line 5

def heating_system_product_line_options
  @heating_system_product_line_options
end

#heating_system_product_line_options_by_urlObject (readonly)

Returns the value of attribute heating_system_product_line_options_by_url

Returns:

  • (Object)

    the current value of heating_system_product_line_options_by_url



5
6
7
# File 'app/services/get_room_options.rb', line 5

def heating_system_product_line_options_by_url
  @heating_system_product_line_options_by_url
end

#heating_system_product_line_urlObject (readonly)

Returns the value of attribute heating_system_product_line_url

Returns:

  • (Object)

    the current value of heating_system_product_line_url



5
6
7
# File 'app/services/get_room_options.rb', line 5

def heating_system_product_line_url
  @heating_system_product_line_url
end

#membrane_optionsObject (readonly)

Returns the value of attribute membrane_options

Returns:

  • (Object)

    the current value of membrane_options



5
6
7
# File 'app/services/get_room_options.rb', line 5

def membrane_options
  @membrane_options
end

#membrane_typeObject (readonly)

Returns the value of attribute membrane_type

Returns:

  • (Object)

    the current value of membrane_type



5
6
7
# File 'app/services/get_room_options.rb', line 5

def membrane_type
  @membrane_type
end

#require_cable_spacingObject (readonly)

Returns the value of attribute require_cable_spacing

Returns:

  • (Object)

    the current value of require_cable_spacing



5
6
7
# File 'app/services/get_room_options.rb', line 5

def require_cable_spacing
  @require_cable_spacing
end

#room_nameObject (readonly)

Returns the value of attribute room_name

Returns:

  • (Object)

    the current value of room_name



5
6
7
# File 'app/services/get_room_options.rb', line 5

def room_name
  @room_name
end

#room_quoting_methodObject (readonly)

Returns the value of attribute room_quoting_method

Returns:

  • (Object)

    the current value of room_quoting_method



5
6
7
# File 'app/services/get_room_options.rb', line 5

def room_quoting_method
  @room_quoting_method
end

#room_quoting_method_optionsObject (readonly)

Returns the value of attribute room_quoting_method_options

Returns:

  • (Object)

    the current value of room_quoting_method_options



5
6
7
# File 'app/services/get_room_options.rb', line 5

def room_quoting_method_options
  @room_quoting_method_options
end

#room_typeObject (readonly)

Returns the value of attribute room_type

Returns:

  • (Object)

    the current value of room_type



5
6
7
# File 'app/services/get_room_options.rb', line 5

def room_type
  @room_type
end

#room_type_idObject (readonly)

Returns the value of attribute room_type_id

Returns:

  • (Object)

    the current value of room_type_id



5
6
7
# File 'app/services/get_room_options.rb', line 5

def room_type_id
  @room_type_id
end

#room_type_keyObject (readonly)

Returns the value of attribute room_type_key

Returns:

  • (Object)

    the current value of room_type_key



5
6
7
# File 'app/services/get_room_options.rb', line 5

def room_type_key
  @room_type_key
end

#sub_floor_typeObject (readonly)

Returns the value of attribute sub_floor_type

Returns:

  • (Object)

    the current value of sub_floor_type



5
6
7
# File 'app/services/get_room_options.rb', line 5

def sub_floor_type
  @sub_floor_type
end

#sub_floor_type_idObject (readonly)

Returns the value of attribute sub_floor_type_id

Returns:

  • (Object)

    the current value of sub_floor_type_id



5
6
7
# File 'app/services/get_room_options.rb', line 5

def sub_floor_type_id
  @sub_floor_type_id
end

#sub_floor_type_keyObject (readonly)

Returns the value of attribute sub_floor_type_key

Returns:

  • (Object)

    the current value of sub_floor_type_key



5
6
7
# File 'app/services/get_room_options.rb', line 5

def sub_floor_type_key
  @sub_floor_type_key
end

#sub_floor_type_optionsObject (readonly)

Returns the value of attribute sub_floor_type_options

Returns:

  • (Object)

    the current value of sub_floor_type_options



5
6
7
# File 'app/services/get_room_options.rb', line 5

def sub_floor_type_options
  @sub_floor_type_options
end

#sub_floor_type_options_by_keyObject (readonly)

Returns the value of attribute sub_floor_type_options_by_key

Returns:

  • (Object)

    the current value of sub_floor_type_options_by_key



5
6
7
# File 'app/services/get_room_options.rb', line 5

def sub_floor_type_options_by_key
  @sub_floor_type_options_by_key
end

#voltage_idObject (readonly)

Returns the value of attribute voltage_id

Returns:

  • (Object)

    the current value of voltage_id



5
6
7
# File 'app/services/get_room_options.rb', line 5

def voltage_id
  @voltage_id
end

#voltage_optionsObject (readonly)

Returns the value of attribute voltage_options

Returns:

  • (Object)

    the current value of voltage_options



5
6
7
# File 'app/services/get_room_options.rb', line 5

def voltage_options
  @voltage_options
end