Class: Html2Pdf::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/html2pdf/rails.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#appObject

Returns the value of attribute app.



6
7
8
# File 'lib/html2pdf/rails.rb', line 6

def app
  @app
end

#endpointObject

Returns the value of attribute endpoint.



6
7
8
# File 'lib/html2pdf/rails.rb', line 6

def endpoint
  @endpoint
end