Class: Pdf::Document::ReturnInstructions::Result

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

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pdf_data: nil, pdf_file_path: nil, file_name: nil, rma: nil, options: nil) ⇒ Result

Returns a new instance of Result.



14
# File 'app/services/pdf/document/return_instructions.rb', line 14

def initialize(pdf_data: nil, pdf_file_path: nil, file_name: nil, rma: nil, options: nil) = super

Instance Attribute Details

#file_nameObject (readonly)

Returns the value of attribute file_name

Returns:

  • (Object)

    the current value of file_name



13
14
15
# File 'app/services/pdf/document/return_instructions.rb', line 13

def file_name
  @file_name
end

#optionsObject (readonly)

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



13
14
15
# File 'app/services/pdf/document/return_instructions.rb', line 13

def options
  @options
end

#pdf_dataObject (readonly)

Returns the value of attribute pdf_data

Returns:

  • (Object)

    the current value of pdf_data



13
14
15
# File 'app/services/pdf/document/return_instructions.rb', line 13

def pdf_data
  @pdf_data
end

#pdf_file_pathObject (readonly)

Returns the value of attribute pdf_file_path

Returns:

  • (Object)

    the current value of pdf_file_path



13
14
15
# File 'app/services/pdf/document/return_instructions.rb', line 13

def pdf_file_path
  @pdf_file_path
end

#rmaObject (readonly)

Returns the value of attribute rma

Returns:

  • (Object)

    the current value of rma



13
14
15
# File 'app/services/pdf/document/return_instructions.rb', line 13

def rma
  @rma
end