class Prevoty::FunctionCall
Attributes
arguments[R]
name[R]
Public Class Methods
new(data)
click to toggle source
# File lib/prevoty/responses/query_analysis.rb, line 151 def initialize(data) @name = data["name"] @arguments = data["arguments"] end
Public Instance Methods
to_json(options)
click to toggle source
# File lib/prevoty/responses/query_analysis.rb, line 156 def to_json(options) return { name: @name, arguments: @arguments }.to_json end