tsurupin/portfolio

View on GitHub
app/controllers/client/api/v1/homes_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Client::Api::V1::HomesController < Client::ApplicationController
  def show
    json = rails_cache('cached_home') do
      Client::HomeSerializer.new(Home.new).to_json
    end
    render json: json
  end
end