Class: TryPaper::Document
- Inherits:
-
Object
- Object
- TryPaper::Document
- Defined in:
- lib/TryPaper/document.rb
Overview
this is a base64 encoded document that will get sent to the mailer class
Instance Attribute Summary collapse
-
#base64format ⇒ Object
readonly
Returns the value of attribute base64format.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file) ⇒ Document
constructor
A new instance of Document.
Constructor Details
#initialize(file) ⇒ Document
Returns a new instance of Document.
10 11 12 |
# File 'lib/TryPaper/document.rb', line 10 def initialize(file) @file = file end |
Instance Attribute Details
#base64format ⇒ Object (readonly)
Returns the value of attribute base64format.
8 9 10 |
# File 'lib/TryPaper/document.rb', line 8 def base64format @base64format end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
8 9 10 |
# File 'lib/TryPaper/document.rb', line 8 def file @file end |