class EcwidApi::ProductType

Public Instance Methods

attributes() click to toggle source

Public: Returns a Array of `ProductTypeAttribute` objects

# File lib/ecwid_api/product_type.rb, line 12
def attributes
  @attributes ||= data["attributes"].map { |attribute| ProductTypeAttribute.new(attribute) }
end