Class | OpenWFE::Base64Attribute |
In: |
lib/openwfe/orest/workitem.rb
|
Parent: | Object |
content | [RW] |
# File lib/openwfe/orest/workitem.rb, line 154 154: def initialize (base64content) 155: 156: @content = base64content 157: end
wraps some binary content and stores it in this attribute (class method)
# File lib/openwfe/orest/workitem.rb, line 171 171: def Base64Attribute.wrap (binaryData) 172: 173: Base64Attribute.new(Base64.encode64(binaryData)) 174: end