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

podio-community / podio-php / 5937884423

22 Aug 2023 11:00AM UTC coverage: 55.065% (+1.6%) from 53.497%
5937884423

push

github

web-flow
Merge pull request #242 from podio-community/more-fixes

181 of 181 new or added lines in 43 files covered. (100.0%)

1147 of 2083 relevant lines covered (55.06%)

34.62 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($attributes = array())
8
    {
9
        parent::__construct();
24✔
10
        $this->property('embed_id', 'integer', array('id' => true));
24✔
11
        $this->property('original_url', 'string');
24✔
12
        $this->property('resolved_url', 'string');
24✔
13
        $this->property('type', 'string');
24✔
14
        $this->property('title', 'string');
24✔
15
        $this->property('description', 'string');
24✔
16
        $this->property('created_on', 'datetime');
24✔
17
        $this->property('provider_name', 'string');
24✔
18
        $this->property('embed_html', 'string');
24✔
19
        $this->property('embed_height', 'integer');
24✔
20
        $this->property('embed_width', 'integer');
24✔
21

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

24
        $this->init($attributes);
24✔
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->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