Sha256: edd1c2ae6f0e476b7da47dc50a8a659f1db615a3238e9430cedfa4bbd60b0732

Contents?: true

Size: 206 Bytes

Versions: 1

Compression:

Stored size: 206 Bytes

Contents

module OData
  class StringType < PrimitiveType
    def valid_value?(value)
      String === value
    end

    def coerce(value)
      value.to_s
    end

    def name
      "Edm.String"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
microsoft_graph-0.1.2 lib/odata/types/primitive_types/string_type.rb