Registry / web-framework / decent-exposure

decent-exposure

JSON →
library3.0.4rbrubygemsunverified

A declarative way to expose an interface to controller state in Rails, reducing coupling and improving testability.

gem install decent_exposure
INSTALL
IMPORT
SIG · DECENT-EXPOSURE
D
decent-exposure
web-frameworkrubyv3.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DecentExposure
require 'decent_exposure'

Expose controller resources declaratively.

require 'decent_exposure' class PostsController < ApplicationController expose(:posts) { Post.all } expose(:post) end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
decent-exposure — gem install decent-exposure · libregistry