| 
														
															@@ -296,7 +296,7 @@ module ShopifyAPI 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     self.prefix = "/admin/products/:product_id/" 
														 | 
														
														 | 
														
															     self.prefix = "/admin/products/:product_id/" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      
														 | 
														
														 | 
														
															      
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # generate a method for each possible image variant 
														 | 
														
														 | 
														
															     # generate a method for each possible image variant 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    [:pico, :icon, :thumb, :small, :medium, :large, :original].each do |m| 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    [:pico, :icon, :thumb, :small, :compact, :medium, :large, :original].each do |m| 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       reg_exp_match = "/\\1_#{m}.\\2" 
														 | 
														
														 | 
														
															       reg_exp_match = "/\\1_#{m}.\\2" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       define_method(m) { src.gsub(/\/(.*)\.(\w{2,4})/, reg_exp_match) } 
														 | 
														
														 | 
														
															       define_method(m) { src.gsub(/\/(.*)\.(\w{2,4})/, reg_exp_match) } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     end 
														 | 
														
														 | 
														
															     end 
														 |