Class: EPlat::Mapping::Woocommerce::V3::ScriptTag

Inherits:
Base
  • Object
show all
Defined in:
lib/e_plat/mapping/woocommerce/v_3/script_tag.rb

Constant Summary

Constants inherited from Base

Base::DEFAULT_VALUES

Instance Attribute Summary

Attributes inherited from Base

#resource, #virtual_collection

Instance Method Summary collapse

Methods inherited from Base

#aliases, #e_plat_key_to, #initialize, #inspect, #keys_aliased_to_native_keys, #mappable_keys, #mappings, #native_key_to, #native_setter, #platform, #protected_attributes_rename_on_initialize, #to_e_plat_keys, #to_native_keys, #via_native_attributes_where_possible, virtual_collection

Methods included from RequestBodyRoot

#include_root_in_request_body?

Constructor Details

This class inherits a constructor from EPlat::Mapping::Base

Instance Method Details

#native_attribute_aliasesObject



15
16
17
# File 'lib/e_plat/mapping/woocommerce/v_3/script_tag.rb', line 15

def native_attribute_aliases
  super.concat([])
end

#native_attributesObject



11
12
13
# File 'lib/e_plat/mapping/woocommerce/v_3/script_tag.rb', line 11

def native_attributes
  super.concat([])
end

#native_top_keyObject

WooCommerce ScriptTag mapping to be added later



7
8
9
# File 'lib/e_plat/mapping/woocommerce/v_3/script_tag.rb', line 7

def native_top_key
  :itself
end