Class: HalApi::Representer

Inherits:
Roar::Decorator
  • Object
show all
Includes:
Caches, Curies, Embeds, FormatKeys, LinkSerialize, UriMethods, Roar::Hypermedia, Roar::JSON, Roar::JSON::HAL, Roar::JSON::HAL::Links
Defined in:
lib/hal_api/representer.rb

Direct Known Subclasses

PagedCollectionRepresenter

Defined Under Namespace

Modules: Caches, CollectionPaging, Curies, Embeds, FormatKeys, LinkSerialize, UriMethods

Method Summary

Methods included from Caches

#cache, #cache_key, #cache_key_class_name, #cache_options, #to_json

Methods included from UriMethods

#alternate_url, #becomes_represented_class, #find_model_name, #joined_names, #method_missing, #model_path, #model_uri, #model_uri_part_to_string, #model_uri_suffix, #self_url, #template_named_path, #vary_params, #vary_query_params, #vary_url

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class HalApi::Representer::UriMethods