Issue Summary
A change was made recently in sendgrid/rest to rename Client.API to Client.Send (sendgrid/rest#19) - currently if someone runs go get, this will mean sendgrid-go is broken. We need a PR to bring that change across to this package.
Steps to Reproduce
go get -u
- Observe the following:
../../sendgrid/sendgrid-go/sendgrid.go:54:2: not enough arguments to return
../../sendgrid/sendgrid-go/sendgrid.go:54:22: DefaultClient.API undefined (type *rest.Client has no field or method API)
Technical details:
- sendgrid-go Version: master (latest commit: [ 238cd04 ])
- Go Version: 1.9.1