Class: SendGrid4r::CLI::Stats::Parse

Inherits:
SendGrid4r::CLI::SgThor show all
Defined in:
lib/sendgrid4r/cli/stats/parse.rb

Overview

SendGrid Web API v3 Stats Parse

Instance Method Summary collapse

Methods inherited from SendGrid4r::CLI::SgThor

#initialize

Constructor Details

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

Instance Method Details

#getObject



11
12
13
14
15
# File 'lib/sendgrid4r/cli/stats/parse.rb', line 11

def get
  puts @client.get_parse_stats(parameterise(options))
rescue RestClient::ExceptionWithResponse => e
  puts e.inspect
end