class Appwrite::Models::FunctionList
Attributes
functions[R]
total[R]
Public Class Methods
from(map:)
click to toggle source
# File lib/appwrite/models/function_list.rb, line 17 def self.from(map:) FunctionList.new( total: map["total"], functions: map["functions"].map { |it| Function.from(map: it) } ) end
new( total:, functions: )
click to toggle source
# File lib/appwrite/models/function_list.rb, line 9 def initialize( total:, functions: ) @total = total @functions = functions end
Public Instance Methods
to_map()
click to toggle source
# File lib/appwrite/models/function_list.rb, line 24 def to_map { "total": @total, "functions": @functions.map { |it| it.to_map } } end