Module: Asana

Defined in:
lib/checkoff/monkeypatches/resource_marshalling.rb

Overview

Monkeypatches Asana::Resources::Resource so that Ruby marshalling and unmarshalling works on Asana resource classes. Currently, it will work unless you call an accessor method, which triggers Asana’s client library Resource class’ method_missing() to “cache” the result by creating a singleton method. Unfortunately, singleton methods break marshalling, which is not smart enough to know that it is not necessary to marshall them as they will simply be recreated when needed.

Defined Under Namespace

Modules: Resources