Sha256: f2bf86ddfe77dbdcc875f502b13441ba77cd9276d9eb345688d7ff9c4de37965
Contents?: true
Size: 652 Bytes
Versions: 28
Compression:
Stored size: 652 Bytes
Contents
module OpenStack module Network class Network attr_reader :id attr_reader :name attr_reader :admin_state_up attr_reader :status attr_reader :subnets attr_reader :shared attr_reader :external attr_reader :tenant_id def initialize(net_info = {}) @id = net_info['id'] @name = net_info['name'] @admin_state_up = net_info['admin_state_up'] @status = net_info['status'] @subnets = net_info['subnets'] @shared = net_info['shared'] @external = net_info['router:external'] @tenant_id = net_info['tenant_id'] end end end end
Version data entries
28 entries across 28 versions & 1 rubygems