Sha256: 89ed2489b6103477a9bf45601d8834f687358a9a3fabb0b769b7512cf5a709a9

Contents?: true

Size: 319 Bytes

Versions: 5

Compression:

Stored size: 319 Bytes

Contents

class RenderController < ApplicationController
  include Restfulie::Server::ActionController::Base

  def index
    render :atom => [AtomifiedModel.new, AtomifiedModel.new, AtomifiedModel.new]
  end
  
  def show
    render :atom => AtomifiedModel.new
  end
  
  def show_with_mock
    render :atom => object
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
restfulie-nosqlite-1.0.4 tests/app/controllers/render_controller.rb
restfulie-1.1.1 tests/app/controllers/render_controller.rb
restfulie-1.1.0 tests/app/controllers/render_controller.rb
restfulie-nosqlite-1.0.3 tests/app/controllers/render_controller.rb
restfulie-1.0.3 tests/app/controllers/render_controller.rb