Class: Pdf::Document::HeatLossReport::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/pdf/document/heat_loss_report.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pdf: nil, room_configuration: nil, file_name: nil) ⇒ Result

Returns a new instance of Result.



7
# File 'app/services/pdf/document/heat_loss_report.rb', line 7

def initialize(pdf: nil, room_configuration: nil, file_name: nil) = super

Instance Attribute Details

#file_nameObject (readonly)

Returns the value of attribute file_name

Returns:

  • (Object)

    the current value of file_name



6
7
8
# File 'app/services/pdf/document/heat_loss_report.rb', line 6

def file_name
  @file_name
end

#pdfObject (readonly)

Returns the value of attribute pdf

Returns:

  • (Object)

    the current value of pdf



6
7
8
# File 'app/services/pdf/document/heat_loss_report.rb', line 6

def pdf
  @pdf
end

#room_configurationObject (readonly)

Returns the value of attribute room_configuration

Returns:

  • (Object)

    the current value of room_configuration



6
7
8
# File 'app/services/pdf/document/heat_loss_report.rb', line 6

def room_configuration
  @room_configuration
end