Class: CloudBuilder::Reference::Base64
- Inherits:
-
Object
- Object
- CloudBuilder::Reference::Base64
- Defined in:
- lib/cloud_builder/reference.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ Base64
constructor
A new instance of Base64.
- #to_json_data ⇒ Object
Constructor Details
#initialize(value) ⇒ Base64
Returns a new instance of Base64.
30 31 32 |
# File 'lib/cloud_builder/reference.rb', line 30 def initialize(value) @value = value end |
Instance Method Details
#to_json_data ⇒ Object
34 35 36 |
# File 'lib/cloud_builder/reference.rb', line 34 def to_json_data { BASE64 => @value } end |