class Sendgrid::API::Entities::Response
Public Instance Methods
error?()
click to toggle source
# File lib/sendgrid/api/entities/response.rb, line 14 def error? message == 'error' end
success?()
click to toggle source
# File lib/sendgrid/api/entities/response.rb, line 10 def success? message == 'success' end