app/controllers/api_controller/renderer.rb
#
# Let's get a list of virtual attributes applicable to the resource.
#
Let's get a list of virtual attributes applicable to the resource.
Let ' s get a list of virtual attributes applicable to the resource .
def virtual_attributes_list(resource)
      return [] if attribute_selection == "all"
      attribute_selection.collect do |requested_attr|
        requested_attr if attr_virtual?(resource, requested_attr)
      end.compact
    end
def virtual_attributes_list ( resource ) return [ ] if attribute_selection == "all" attribute_selection . collect do | requested_attr | requested_attr if attr_virtual? ( resource , requested_attr ) end . compact end
Let's get a list of virtual attributes applicable to the resource.
Let ' s get a list of virtual attributes applicable to the resource .
resource
<not_specific>