class FFWD::Plugin::JSON::LineConnection

Public Class Methods

plugin_type() click to toggle source
# File lib/ffwd/plugin/json.rb, line 57
def self.plugin_type
  "json_line_in"
end

Public Instance Methods

receive_line(data) click to toggle source
# File lib/ffwd/plugin/json.rb, line 61
def receive_line data
  receive_json data
rescue => e
  log.error "Failed to receive JSON: #{data}: #{e}"
end