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.9.0.beta.3 lib/push_type/primitives/string_type.rb
push_type_core-0.9.0.beta.2 lib/push_type/primitives/string_type.rb
push_type_core-0.8.2 lib/push_type/primitives/string_type.rb
push_type_core-0.8.1 lib/push_type/primitives/string_type.rb
push_type_core-0.8.0 lib/push_type/primitives/string_type.rb
push_type_core-0.8.0.beta.3 lib/push_type/primitives/string_type.rb
push_type_core-0.8.0.beta.2 lib/push_type/primitives/string_type.rb
push_type_core-0.8.0.beta.1 lib/push_type/primitives/string_type.rb
push_type_core-0.7.0 lib/push_type/primitives/string_type.rb
push_type_core-0.7.0.beta.1 lib/push_type/primitives/string_type.rb
push_type_core-0.6.0 lib/push_type/primitives/string_type.rb
push_type_core-0.6.0.beta.4 lib/push_type/primitives/string_type.rb
push_type_core-0.6.0.beta.3 lib/push_type/primitives/string_type.rb
push_type_core-0.6.0.beta.2 lib/push_type/primitives/string_type.rb
push_type_core-0.6.0.beta.1 lib/push_type/primitives/string_type.rb