class Hula::BoshManifest::Job
Attributes
job_hash[R]
Public Class Methods
new(job_hash)
click to toggle source
# File lib/hula/bosh_manifest/job.rb, line 14 def initialize(job_hash) @job_hash = job_hash end
Public Instance Methods
instances()
click to toggle source
# File lib/hula/bosh_manifest/job.rb, line 26 def instances @job_hash.fetch('instances') end
properties()
click to toggle source
# File lib/hula/bosh_manifest/job.rb, line 22 def properties @job_hash.fetch('properties') end
static_ips()
click to toggle source
# File lib/hula/bosh_manifest/job.rb, line 18 def static_ips first_network.fetch('static_ips') end
Private Instance Methods
first_network()
click to toggle source
# File lib/hula/bosh_manifest/job.rb, line 34 def first_network job_hash.fetch('networks').first end