module HalApi::Controller::Resources::ClassMethods

Attributes

find_method[RW]
resource_class[RW]
resource_representer[RW]
resources_params[RW]

Public Instance Methods

filter_resources_by(*rparams) click to toggle source
# File lib/hal_api/controller/resources.rb, line 123
def filter_resources_by(*rparams)
  self.resources_params = rparams
end
represent_with(representer_class) click to toggle source
# File lib/hal_api/controller/resources.rb, line 127
def represent_with(representer_class)
  self.resource_representer = representer_class
end