Method: Appwrite::Models::AttributeFloat.from

Defined in:
lib/appwrite/models/attribute_float.rb

.from(map:) ⇒ Object



38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'lib/appwrite/models/attribute_float.rb', line 38

def self.from(map:)
    AttributeFloat.new(
        key: map["key"],
        type: map["type"],
        status: map["status"],
        error: map["error"],
        required: map["required"],
        array: map["array"],
        min: map["min"],
        max: map["max"],
        default: map["default"]
    )
end