<?php

 namespace Informunity\Rest\App\Recordings; use Informunity\Interfaces\RestAPI; class AttachRecords implements RestAPI { var $REST; var $data; public function __construct($REST, $data = array()) { $this->REST = $REST; $this->data = $data; } public static function load($REST, $data = array()) { return new AttachRecords($REST, $data); } public function Run() { return $this->REST->query("\x74\x65\x6c\x65\160\150\157\x6e\x79\x2e\145\170\x74\x65\x72\156\141\x6c\103\x61\154\x6c\56\x61\164\x74\141\143\x68\x52\145\x63\x6f\162\144", array("\x43\x41\x4c\114\137\111\104" => $this->data["\x43\x41\x4c\114\137\111\104"], "\x46\x49\114\105\116\x41\115\105" => basename($this->data["\146\x69\x6c\x65"]), "\x46\x49\114\x45\x5f\103\x4f\116\x54\105\x4e\124" => base64_encode(file_get_contents($this->data["\x66\x69\x6c\x65"])))); } }
