4 5 6
# File 'lib/methods/detect.rb', line 4 def self.run(api_key, text) Api.post(path, {key: api_key, text: text, format: 'json'}) end