Class: PushType::Primitives::StringType
- Defined in:
- lib/push_type/primitives/string_type.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from PushType::Primitives::Base
Instance Method Details
#to_json ⇒ Object
5 6 7 |
# File 'lib/push_type/primitives/string_type.rb', line 5 def to_json value.to_s unless value.blank? end |