Пример #1
0
        public ThemesSample(JObject authConfig)
        {
            Configuration config = Configuration.Default;

            config.ApiKey.Add("X-Auth-Token", (string)authConfig["accessToken"]);
            config.BasePath = config.BasePath.Replace("{$$.env.store_hash}", (string)authConfig["storeId"]);

            this.themesApi = new ThemesApi(config);
        }
Пример #2
0
 public void Init()
 {
     instance = new ThemesApi();
 }