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