Class: Pdf::Compressor::Result
- Inherits:
-
Data
- Object
- Data
- Pdf::Compressor::Result
- Defined in:
- app/services/pdf/compressor.rb
Instance Attribute Summary collapse
-
#input_path ⇒ Object
readonly
Returns the value of attribute input_path.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#output_blob ⇒ Object
readonly
Returns the value of attribute output_blob.
-
#output_path ⇒ Object
readonly
Returns the value of attribute output_path.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result: nil, message: nil, input_path: nil, output_path: nil, output_blob: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(result: nil, message: nil, input_path: nil, output_path: nil, output_blob: nil) ⇒ Result
Returns a new instance of Result.
10 |
# File 'app/services/pdf/compressor.rb', line 10 def initialize(result: nil, message: nil, input_path: nil, output_path: nil, output_blob: nil) = super |
Instance Attribute Details
#input_path ⇒ Object (readonly)
Returns the value of attribute input_path
9 10 11 |
# File 'app/services/pdf/compressor.rb', line 9 def input_path @input_path end |
#message ⇒ Object (readonly)
Returns the value of attribute message
9 10 11 |
# File 'app/services/pdf/compressor.rb', line 9 def @message end |
#output_blob ⇒ Object (readonly)
Returns the value of attribute output_blob
9 10 11 |
# File 'app/services/pdf/compressor.rb', line 9 def output_blob @output_blob end |
#output_path ⇒ Object (readonly)
Returns the value of attribute output_path
9 10 11 |
# File 'app/services/pdf/compressor.rb', line 9 def output_path @output_path end |
#result ⇒ Object (readonly)
Returns the value of attribute result
9 10 11 |
# File 'app/services/pdf/compressor.rb', line 9 def result @result end |