Module: Palapala

Defined in:
lib/palapala.rb,
lib/palapala/pdf.rb,
lib/palapala/version.rb,
lib/palapala/renderer.rb,
lib/palapala/web_socket_client.rb

Overview

Main module for the gem

Defined Under Namespace

Classes: PDF, Renderer, WebSocketClient

Constant Summary collapse

VERSION =
'0.1.3'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.debugObject

Returns the value of attribute debug.



14
15
16
# File 'lib/palapala.rb', line 14

def debug
  @debug
end

.defaultsObject

Returns the value of attribute defaults.



14
15
16
# File 'lib/palapala.rb', line 14

def defaults
  @defaults
end

.headless_chrome_pathObject

Returns the value of attribute headless_chrome_path.



14
15
16
# File 'lib/palapala.rb', line 14

def headless_chrome_path
  @headless_chrome_path
end

.headless_chrome_urlObject

Returns the value of attribute headless_chrome_url.



14
15
16
# File 'lib/palapala.rb', line 14

def headless_chrome_url
  @headless_chrome_url
end

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Palapala)

    the object that the method was called on



9
10
11
# File 'lib/palapala.rb', line 9

def self.setup
  yield self
end