Sha256: a1a5f7c484e81b8afd0927626be6b9d59b660b724564ab58a2d48fba5e50bef0
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 KB
Contents
module Falsify # Attaches additional metadata to a shop's resources class Metafield # An identifier for the metafield (maximum of 30 characters, required) # @return [Boolean] attr_accessor :key # A container for a set of metadata (maximum of 20 characters, required) # Namespaces help distinguish between metadata that you created and metadata created by another individual with a similar namespace. # @return [String] attr_accessor :namespace # Information to be stored as metadata (required) # @return [String,Integer] attr_accessor :value # The value type (required) # Valid values: `string` and `integer`. # @return [String] attr_accessor :value_type # Additional information about the metafield (optional) # @return [String,nil] attr_accessor :description # @param key [String] # @param namespace [String] # @param value [String,Integer] # @param value_type [String] # @param description [String] # @return [void] def initialize(key:, namespace:, value:, value_type:, description: nil) self.key = key self.namespace = namespace self.value = value self.value_type = value_type self.description = description end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
falsify-0.1.0 | lib/falsify/models/customer/metafield.rb |