lib/oehclient/interaction/interaction.rb in oeh-client-0.3.1 vs lib/oehclient/interaction/interaction.rb in oeh-client-0.3.2
- old
+ new
@@ -127,12 +127,10 @@
def send(parameters={})
# raise the MissingParameterException when one (or more) of the miminal parameters are missing
raise OEHClient::Exception::MissingParameterException.new(missing_minimal_parameters) unless (minimal_parameters?)
# call the appropriate method based on the existance of the timestamp value
- #(!@timestamp.nil?) ? send_offline(parameters) : send_realtime(parameters))
- # TEMPORARY UNTIL OFFLINE API Fixed
- send_realtime(parameters)
+ ((!@timestamp.nil?) ? send_offline(parameters) : send_realtime(parameters))
# return the current instance interacton
self
end
# send_new posts a new interaction using the existing instance data, but for a different touchpoint
\ No newline at end of file