Method: Wapl#initialize

Defined in:
lib/wapl.rb

#initialize(arch_dev_key = "", headers = {}) ⇒ Wapl

the constructor Required parameters

arch_dev_key

Your Architect dev key

headers

headers for the request - for rails that would be request.env

Returns a new instance of Wapl



30
31
32
33
34
# File 'lib/wapl.rb', line 30

def initialize(arch_dev_key = "", headers = {})
  @dev_key= arch_dev_key
  @header_string = self.parse_headers(headers)
  @api_root="http://webservices.wapple.net"
end