Class: FyipeTransport
- Inherits:
-
Object
- Object
- FyipeTransport
- Includes:
- HTTParty
- Defined in:
- lib/fyipe/fyipeTransport.rb
Instance Method Summary collapse
-
#initialize(apiUrl) ⇒ FyipeTransport
constructor
A new instance of FyipeTransport.
- #sendErrorEventToServer(event) ⇒ Object
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 |