class Opsmgr::Settings::Microbosh::Property

Public Class Methods

new(hash) click to toggle source
# File lib/opsmgr/settings/microbosh/property.rb, line 5
def initialize(hash)
  @hash = hash
end

Public Instance Methods

name() click to toggle source
# File lib/opsmgr/settings/microbosh/property.rb, line 9
def name
  @hash.fetch('identifier')
rescue
  @hash['definition']
end
value() click to toggle source
# File lib/opsmgr/settings/microbosh/property.rb, line 15
def value
  @hash['value']
end
value=(value) click to toggle source
# File lib/opsmgr/settings/microbosh/property.rb, line 19
def value=(value)
  @hash['value'] = value
end