Created
February 22, 2013 12:50
-
-
Save ffeldhaus/5013193 to your computer and use it in GitHub Desktop.
rOCCI adding a user defined mixin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scheme = 'http://myscheme#' | |
term = 'myterm' | |
title = 'mytitle' | |
attributes = Occi::Core::AttributeProperties.new | |
related = [] | |
my_mixin = Occi::Core::Mixin.new scheme, term, title, attributes, related | |
# POST /-/ | |
# Body: Rendering of the mixin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment