public function get($scriptTagId, array $fields = array())
    {
        $params = array();
        if (!empty($fields)) {
            $params['fields'] = implode(',', $fields);
        }
        $data = $this->request('/admin/script_tags/'.$scriptTagId.'.json', 'GET', $params);
        return $this->createObject(ScriptTag::class, $data['script_tag']);
    }
public function get($scriptTagId, array $fields = array())
    {
        $params = array();
        if (!empty($fields)) {
            $params['fields'] = implode(',', $fields);
        }
        $data = $this->request('/admin/script_tags/'.$scriptTagId.'.json', 'GET', $params);
        return $this->createObject(ScriptTag::class, $data['script_tag']);
    }
public function get ( $ scriptTagId , array $ fields = array ( ) ) { $ params = array ( ) ; if ( ! empty ( $ fields ) ) { $ params [ 'fields' ] = implode ( ',' , $ fields ) ; } $ data = $ this -> request ( '/admin/script_tags/' . $ scriptTagId . '.json' , 'GET' , $ params ) ; return $ this -> createObject ( ScriptTag :: class , $ data [ 'script_tag' ] ) ; }
Receive a single Script Tag

@link   https://help.shopify.com/api/reference/scripttag#show
@param  integer $scriptTagId
@param  array   $fields
@return ScriptTag
Receive a single Script Tag