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

podio-community / podio-php / 5625582238

pending completion
5625582238

push

github

daniel-sc
fix: make podio_client first parameter of functions

resolves #232

145 of 145 new or added lines in 40 files covered. (100.0%)

917 of 2108 relevant lines covered (43.5%)

24.11 hits per line

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

0.0
/models/PodioAction.php
1
<?php
2
/**
3
 * @see https://developers.podio.com/doc/actions
4
 */
5
class PodioAction extends PodioObject
6
{
7
    public function __construct(PodioClient $podio_client, $attributes = array())
8
    {
9
        parent::__construct($podio_client);
×
10
        $this->property('action_id', 'integer', array('id' => true));
×
11
        $this->property('type', 'string');
×
12
        $this->property('data', 'hash');
×
13
        $this->property('text', 'string');
×
14

15
        $this->has_many('comments', 'Comment');
×
16

17
        $this->init($attributes);
×
18
    }
19

20
    /**
21
     * @see https://developers.podio.com/doc/actions/get-action-1701120
22
     */
23
    public static function get(PodioClient $podio_client, $action_id)
24
    {
25
        return self::member($podio_client, $podio_client->get("/action/{$action_id}"));
×
26
    }
27
}
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