Method: EPlat::ScriptTag.element_path

Defined in:
lib/e_plat/resource/script_tag.rb

.element_path(id, prefix_options = {}, query_options = nil) ⇒ Object



23
24
25
26
27
28
29
# File 'lib/e_plat/resource/script_tag.rb', line 23

def self.element_path(id, prefix_options = {}, query_options = nil)
    if client.bigcommerce?
        super(id, prefix_options, query_options).gsub("script_tags", "scripts")
    else
        super(id, prefix_options, query_options)
    end
end