• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

podio-community / podio-php / 5730982429

pending completion
5730982429

push

github

web-flow
Merge pull request #233 from podio-community/232-improvements-beta

fix: make podio_client first parameter of functions + remove podio_client member from models

235 of 235 new or added lines in 67 files covered. (100.0%)

916 of 2104 relevant lines covered (43.54%)

32.17 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/models/PodioNotificationGroup.php
1
<?php
2
/**
3
 * @see https://developers.podio.com/doc/notifications
4
 */
5
class PodioNotificationGroup extends PodioObject
6
{
7
    public function __construct($attributes = array())
8
    {
9
        parent::__construct();
×
10
        $this->has_one('context', 'NotificationContext');
×
11
        $this->has_many('notifications', 'Notification');
×
12

13
        $this->init($attributes);
×
14
    }
15

16
    /**
17
     * @see https://developers.podio.com/doc/notifications/get-notification-v2-2973737
18
     */
19
    public static function get(PodioClient $podio_client, $notification_id)
20
    {
21
        return self::member($podio_client, $podio_client->get("/notification/{$notification_id}/v2"));
×
22
    }
23

24
    /**
25
     * @see https://developers.podio.com/doc/notifications/get-notifications-290777
26
     */
27
    public static function get_all(PodioClient $podio_client, $attributes = array())
28
    {
29
        return self::listing($podio_client, $podio_client->get("/notification/", $attributes));
×
30
    }
31
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc