Sha256: 857838152e48919596bad1b5aee4460cf7e4518f3e2be66629f6efdf204abbd1

Contents?: true

Size: 152 Bytes

Versions: 35

Compression:

Stored size: 152 Bytes

Contents

module PushType
  module Primitives
    class StringType < Base

      def to_json
        value.to_s unless value.blank?
      end

    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
push_type_core-0.12.1 lib/push_type/primitives/string_type.rb
push_type_core-0.12.0 lib/push_type/primitives/string_type.rb
push_type_core-0.12.0.beta.1 lib/push_type/primitives/string_type.rb
push_type_core-0.11.2 lib/push_type/primitives/string_type.rb
push_type_core-0.11.1 lib/push_type/primitives/string_type.rb
push_type_core-0.11.0.beta.2 lib/push_type/primitives/string_type.rb
push_type_core-0.11.0.beta.1 lib/push_type/primitives/string_type.rb
push_type_core-0.10.4 lib/push_type/primitives/string_type.rb
push_type_core-0.10.3 lib/push_type/primitives/string_type.rb
push_type_core-0.10.2 lib/push_type/primitives/string_type.rb
push_type_core-0.10.1 lib/push_type/primitives/string_type.rb
push_type_core-0.10.0 lib/push_type/primitives/string_type.rb
push_type_core-0.10.0.beta.5 lib/push_type/primitives/string_type.rb
push_type_core-0.10.0.beta.3 lib/push_type/primitives/string_type.rb
push_type_core-0.9.5 lib/push_type/primitives/string_type.rb
push_type_core-0.9.3 lib/push_type/primitives/string_type.rb
push_type_core-0.9.2 lib/push_type/primitives/string_type.rb
push_type_core-0.9.1 lib/push_type/primitives/string_type.rb
push_type_core-0.9.0 lib/push_type/primitives/string_type.rb
push_type_core-0.9.0.beta.4 lib/push_type/primitives/string_type.rb