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

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

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.



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

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



3
4
5
# File 'app/services/pdf/document/return_instructions.rb', line 3

def file_name
  @file_name
end

#optionsObject (readonly)

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



3
4
5
# File 'app/services/pdf/document/return_instructions.rb', line 3

def options
  @options
end

#pdf_dataObject (readonly)

Returns the value of attribute pdf_data

Returns:

  • (Object)

    the current value of pdf_data



3
4
5
# File 'app/services/pdf/document/return_instructions.rb', line 3

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



3
4
5
# File 'app/services/pdf/document/return_instructions.rb', line 3

def pdf_file_path
  @pdf_file_path
end

#rmaObject (readonly)

Returns the value of attribute rma

Returns:

  • (Object)

    the current value of rma



3
4
5
# File 'app/services/pdf/document/return_instructions.rb', line 3

def rma
  @rma
end