Sha256: b27f7c5665ef8e6f496c710030d4a0c759e6ef2830d7c83944e41b7b37ea25d7

Contents?: true

Size: 333 Bytes

Versions: 5

Compression:

Stored size: 333 Bytes

Contents

module Brightbox
  class Zone < Api
    def to_row
      attributes
    end

    def self.all
      conn.zones
    end

    def self.get(id)
      conn.zones.get id
    end

    def self.default_field_order
      [:id, :handle]
    end

    def to_s
      @id
    end

    def render_cell
      handle if fog_model
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bbcloud-0.8.2 lib/bbcloud/zones.rb
bbcloud-0.8.1 lib/bbcloud/zones.rb
bbcloud-0.8 lib/bbcloud/zones.rb
bbcloud-0.7 lib/bbcloud/zones.rb
bbcloud-0.6.2 lib/bbcloud/zones.rb