Services/Zencoder/Accounts.php
public function create($account = NULL, $params = array()) {
    if(is_string($account)) {
      $json = trim($account);
    } else if(is_array($account)) {
      $json = json_encode($account);
    } else {
      throw new Services_Zencoder_Exception(
        'Account parameters required to create account.');
    }
    return new Services_Zencoder_Account($this->proxy->createData("account", $json, $params));
  }
public function create($account = NULL, $params = array()) {
    if(is_string($account)) {
      $json = trim($account);
    } else if(is_array($account)) {
      $json = json_encode($account);
    } else {
      throw new Services_Zencoder_Exception(
        'Account parameters required to create account.');
    }
    return new Services_Zencoder_Account($this->proxy->createData("account", $json, $params));
  }
public function create ( $ account = NULL , $ params = array ( ) ) { if ( is_string ( $ account ) ) { $ json = trim ( $ account ) ; } else if ( is_array ( $ account ) ) { $ json = json_encode ( $ account ) ; } else { throw new Services_Zencoder_Exception ( 'Account parameters required to create account.' ) ; } return new Services_Zencoder_Account ( $ this -> proxy -> createData ( "account" , $ json , $ params ) ) ; }
Create a Zencoder account

@param array  $account Array of attributes to use when creating the account
@param array  $params  Optional overrides

@return Services_Zencoder_Account The object representation of the resource
Create a Zencoder account