Sha256: e44a8b759ac317b80d00929b09a9b2964871080a02243927946836ca12e4659b
Contents?: true
Size: 547 Bytes
Versions: 4
Compression:
Stored size: 547 Bytes
Contents
module Brightbox class Type < Api def attributes o = fog_model.attributes o[:ram] = ram o[:disk] = disk o end def ram fog_model.ram.to_i end def disk fog_model.disk.to_i end def to_row attributes end def render_cell fog_model.handle end def self.all conn.flavors end def self.get id conn.flavors.get id end def self.default_field_order [:id, :name, :handle, :ram, :disk, :cores, :description] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bbcloud-0.10.1 | lib/bbcloud/types.rb |
bbcloud-0.9.2 | lib/bbcloud/types.rb |
bbcloud-0.9.1 | lib/bbcloud/types.rb |
bbcloud-0.9 | lib/bbcloud/types.rb |