<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
my $oi = comment_squid_oi(); | |
#my $emb_34 = comment_squid_emb_34(); | |
#my $emb_147 = comment_squid_emb_147(); | |
sub comment_squid_oi { |
class Serializer < Struct.new(:object) | |
#w.association_cache.keys.include? | |
def to_hash | |
@hash ||= hash_object(object) | |
end | |
private | |
def hash_object(object) | |
hash = {} |
class ListsController < ApplicationController | |
before_filter :authenticate, :except => :public | |
caches_page :public | |
caches_action :index, :if => proc do | |
!request.format.json? # cache if is not a JSON request | |
end | |
caches_action :show, :cache_path => { :project => 1 }, |