module Contentful::Management::Resource

Include this module to declare a class to be a contentful resource. This is done by the default in the existing resource classes

You can define your own classes that behave like contentful resources: See examples/custom_classes.rb to see how.

Take a look at examples/resource_mapping.rb on how to register them to be returned by the client by default

@see _ examples/custom_classes.rb Custom Class as Resource @see _ examples/resource_mapping.rb Mapping a Custom Class