Class: SendGrid4r::CLI::Webhooks::Parse

Inherits:
SgThor
  • Object
show all
Defined in:
lib/sendgrid4r/cli/webhooks/parse.rb

Overview

SendGrid Web API v3 Webhook Parse

Instance Method Summary collapse

Methods inherited from SgThor

#initialize

Constructor Details

This class inherits a constructor from SendGrid4r::CLI::SgThor

Instance Method Details

#getObject



8
9
10
11
12
# File 'lib/sendgrid4r/cli/webhooks/parse.rb', line 8

def get
  puts @client.get_parse_settings
rescue RestClient::ExceptionWithResponse => e
  puts e.inspect
end