Sha256: 9ab16d8676cb9a3005d54badf9e7b69102bd26eb857ddb6f89830ff68c6d0428

Contents?: true

Size: 205 Bytes

Versions: 1

Compression:

Stored size: 205 Bytes

Contents

module OData
  class Int32Type < PrimitiveType
    def valid_value?(value)
      Integer === value
    end

    def coerce(value)
      value.to_i
    end

    def name
      "Edm.Int32"
    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/int_32_type.rb