Class: Magento::Params::CreateCustomAttribute
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Magento::Params::CreateCustomAttribute
- Defined in:
- lib/magento/params/create_custom_attribute.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
9 10 11 12 13 14 |
# File 'lib/magento/params/create_custom_attribute.rb', line 9 def to_h { "attribute_code": code, "value": value } end |