fastruby / harvesting

Ruby wrapper for the Harvest API v2
MIT License
28 stars 30 forks source link

Define the modeled association on the child class #72

Closed jkowens closed 1 year ago

jkowens commented 1 year ago

Defining the association on the Base class adds the modeled method to all subclasses of Base. This PR updates modeled to work like attributed. Associations will be correctly memoized in the instance of the parent class.