The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::SendGrid::Profile - The Profile class for your SendGrid account

VERSION

version 1.03

SYNOPSIS

  use WebService::SendGrid::Profile;
  my $profile = WebService::SendGrid::Profile->new(
    api_user =>  'jlloyd', # same username for logging into the website
    api_key => 'abcdefgh123456789', # same password for logging into the website
  );
  
  print 'The username for your account is ' . $profile->username;
  print 'The email for your account is ' . $profile->email;
  
  $profile->address('123 Fake Street');
  $profile->city('Faketown');
  $profile->set; # store the new profile to SendGrid

  # update the username on your account
  $profile->setUsername('jlloyd');
  
  # update the password on your account
  $profile->setPassword('123456789');
  
  # update the email address on your account
  $profile->setEmail('jlloyd@cpan.org');

1;

DESCRIPTION

Allows you to view/update your SendGrid profile using their Web API

AUTHOR

Jonathan Lloyd <webmaster@lifegames.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Jonathan Lloyd <webmaster@lifegames.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.