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

podio-community / podio-php / 5625598883

pending completion
5625598883

Pull #233

github

web-flow
Merge 617660f6f into b5bb41606
Pull Request #233: fix: make podio_client first parameter of functions

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

93.33
/models/PodioEmbed.php
1
<?php
2
/**
3
 * @see https://developers.podio.com/doc/embeds
4
 */
5
class PodioEmbed extends PodioObject
6
{
7
    public function __construct(PodioClient $podio_client, $attributes = array())
8
    {
9
        parent::__construct($podio_client);
18✔
10
        $this->property('embed_id', 'integer', array('id' => true));
18✔
11
        $this->property('original_url', 'string');
18✔
12
        $this->property('resolved_url', 'string');
18✔
13
        $this->property('type', 'string');
18✔
14
        $this->property('title', 'string');
18✔
15
        $this->property('description', 'string');
18✔
16
        $this->property('created_on', 'datetime');
18✔
17
        $this->property('provider_name', 'string');
18✔
18
        $this->property('embed_html', 'string');
18✔
19
        $this->property('embed_height', 'integer');
18✔
20
        $this->property('embed_width', 'integer');
18✔
21

22
        $this->has_many('files', 'File');
18✔
23

24
        $this->init($attributes);
18✔
25
    }
26

27
    /**
28
     * @see https://developers.podio.com/doc/embeds/add-an-embed-726483
29
     */
30
    public static function create(PodioClient $podio_client, $attributes = array())
31
    {
32
        return self::member($podio_client, $podio_client->post("/embed/", $attributes));
×
33
    }
34
}
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