Class: SendGrid4r::CLI::Category
- Defined in:
- lib/sendgrid4r/cli/category.rb
Overview
SendGrid Web API v3 Category
Instance Method Summary collapse
Methods inherited from SgThor
Constructor Details
This class inherits a constructor from SendGrid4r::CLI::SgThor
Instance Method Details
#list ⇒ Object
10 11 12 13 14 |
# File 'lib/sendgrid4r/cli/category.rb', line 10 def list puts @client.get_categories(parameterise()) rescue RestClient::ExceptionWithResponse => e puts e.inspect end |