Class: FacebookAds::FieldTypes::StringType
- Defined in:
- lib/facebook_ads/field_types/string_type.rb
Overview
StringType instead of String to avoid name clash with the String class
Instance Method Summary collapse
Methods included from FacebookAds::FieldTypes
Instance Method Details
#deserialize(value, session = nil) ⇒ Object
13 14 15 |
# File 'lib/facebook_ads/field_types/string_type.rb', line 13 def deserialize(value, session = nil) value.is_a?(Array) ? (value * ',') : value.to_s end |