Skip to content

Instantly share code, notes, and snippets.

@andrewgross
Created April 9, 2013 21:25
Show Gist options
  • Save andrewgross/5349537 to your computer and use it in GitHub Desktop.
Save andrewgross/5349537 to your computer and use it in GitHub Desktop.
A LWRP to mimic our HWRP
action :enable, :remove
default_action :enable
attribute :magic, kind_of => [TrueClass, FalseClass], :default => true
attribute :cloud, kind_of => String, :name_attribute => true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment