Skip to content

Instantly share code, notes, and snippets.

@kreshikhin
Created February 28, 2014 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kreshikhin/9272625 to your computer and use it in GitHub Desktop.
Save kreshikhin/9272625 to your computer and use it in GitHub Desktop.
class User
field :first_name, String
field :last_name, String
field :email_name, String
context AdminAccess
def show
end
def destroy
end
end
context UserAccess
def create
end
def show
end
end
context AdminView
end
context UserView
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment