Skip to content

Instantly share code, notes, and snippets.

@doxavore
Created February 21, 2013 22:05
Show Gist options
  • Save doxavore/5008753 to your computer and use it in GitHub Desktop.
Save doxavore/5008753 to your computer and use it in GitHub Desktop.
ouch
def initialize(appid=nil, secret=nil, securityalgorithm=nil,
force_delauth_nonprovisioned=nil,
policyurl=nil, returnurl=nil)
self.force_delauth_nonprovisioned = force_delauth_nonprovisioned
self.appid = appid if appid
self.secret = secret if secret
self.securityalgorithm = securityalgorithm if securityalgorithm
self.policyurl = policyurl if policyurl
self.returnurl = returnurl if returnurl
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment