Sha256: ce077895b221bffa34502e04cd96e7f0abdb92723c75b890b67bc11764cc8d88

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 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

3 entries across 3 versions & 1 rubygems

Version Path
microsoft_graph-0.1.3 lib/odata/types/primitive_types/int_32_type.rb
microsoft_graph-0.1.1 lib/odata/types/primitive_types/int_32_type.rb
microsoft_graph-0.1.0 lib/odata/types/primitive_types/int_32_type.rb