Class: FyipeTransport

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/fyipe/fyipeTransport.rb

Instance Method Summary collapse

Constructor Details

#initialize(apiUrl) ⇒ FyipeTransport

Returns a new instance of FyipeTransport.



6
7
8
9
# File 'lib/fyipe/fyipeTransport.rb', line 6

def initialize( apiUrl)
    # set up the api transporter
    @apiUrl = apiUrl
end

Instance Method Details

#sendErrorEventToServer(event) ⇒ Object



11
12
13
14
# File 'lib/fyipe/fyipeTransport.rb', line 11

def sendErrorEventToServer(event)
    response = makeApiRequest(event)
    return response
end