Skip to content

Instantly share code, notes, and snippets.

@ffeldhaus
Created February 22, 2013 12:50
Show Gist options
  • Save ffeldhaus/5013193 to your computer and use it in GitHub Desktop.
Save ffeldhaus/5013193 to your computer and use it in GitHub Desktop.
rOCCI adding a user defined mixin
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