adelevie / parse-ruby-client

A simple Ruby client for the parse.com REST API
MIT License
415 stars 137 forks source link

Does Parse::Cloud::Function.new Still Work? #224

Closed OpConTech closed 7 years ago

OpConTech commented 7 years ago

Hi,

Does Parse::Cloud::Function.new still work? or is there a new syntax like MyClient.cloud?

function = Parse::Cloud::Function.new("inviteNonmemberWEBAPPONLY").call(params[:user])

rhymes commented 7 years ago

@OpConTech the syntax is:

client.cloud_function('name of the function').call(params)

hope this helps

OpConTech commented 7 years ago

That was it. --- Thank You!