class SpiffyStoresAPI::Metafield
Public Instance Methods
value()
click to toggle source
# File lib/spiffy_stores_api/resources/metafield.rb, line 7 def value return if attributes["value"].nil? attributes["value_type"] == "integer" ? attributes["value"].to_i : attributes["value"] end