Class: TryPaper::Document

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#base64formatObject (readonly)

Returns the value of attribute base64format.



8
9
10
# File 'lib/TryPaper/document.rb', line 8

def base64format
  @base64format
end

#fileObject (readonly)

Returns the value of attribute file.



8
9
10
# File 'lib/TryPaper/document.rb', line 8

def file
  @file
end