Class: Html2Pdf::Config
- Inherits:
-
Object
- Object
- Html2Pdf::Config
- Defined in:
- lib/html2pdf/rails.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 |
# File 'lib/html2pdf/rails.rb', line 8 def initialize @endpoint = nil @app = nil end |
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
6 7 8 |
# File 'lib/html2pdf/rails.rb', line 6 def app @app end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
6 7 8 |
# File 'lib/html2pdf/rails.rb', line 6 def endpoint @endpoint end |