beezwax / fmrest-ruby

FileMaker Data API client for Ruby with ActiveRecord-like ORM features
MIT License
22 stars 10 forks source link

Add an interface for running FM scripts #20

Closed pilaf closed 4 years ago

pilaf commented 5 years ago

Currently running FM scripts is supported when saving a record (see FmRest::Spyke::Model::Orm#perform_save_persistence), but not for other actions (delete, search and list). We need to add an interface to allow calling scripts in all those cases, as well as a method for executing scripts directly, which can be accomplished by running a list request with limit 1 (see how this nodejs library deals with it for inspiration).

This may need discussion about the final Ruby interface.

pilaf commented 4 years ago

Addressed in #37 and #38