NAME

WWW::Kickstarter::Data::NotificationPref - Notification preferences for projects you backed

SYNOPSIS

   use WWW::Kickstarter;

   my $email    = '...';  # Your Kickstarter login credentials
   my $password = '...';

   my $ks = WWW::Kickstarter->new();
   $ks->login($email, $password);

   my @notification_prefs = $ks->my_notification_prefs();

   for my $notification_pref (@notification_prefs) {
      print("$notification_pref->project_name -- "
         ."email:".($notification_pref->by_email?"yes":"no")." "
         ."mobile:".($notification_pref->by_mobile?"yes":"no")."\n"
      );
   }

ACCESSORS

id

   my $notification_pref_id = $notification_pref->id;

Returns the numerical id of this notification preference.

project_id

   my $project_id = $notification_pref->project_id;

Returns the numerical id of the project for which this notifcation preference applies.

project_name

   my $project_name = $notification_pref->project_name;

Returns the name of the project for which this notifcation preference applies.

notify_by_email

   my $notify_by_email = $notification_pref->notify_by_email;

Returns true if the you wish to be notified of updates to the project identified by project_id by email.

notify_by_mobile

   my $notify_by_mobile = $notification_pref->notify_by_mobile;

Returns true if the you wish to be notified of updates to the project identified by project_id by mobile.

API CALLS

None. Notably, this object can't be refetched.

VERSION, BUGS, KNOWN ISSUES, DOCUMENTATION, SUPPORT, AUTHOR, COPYRIGHT AND LICENSE

See WWW::Kickstarter