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
25 26 27 |
# File 'lib/facebook_ads/field_types/string_type.rb', line 25 def deserialize(value, session = nil) value.is_a?(Array) ? (value * ',') : value.to_s end |