Sha256: 323ef11d78a608a9598fb3714971ebd1f4b01bfc5cc93b5d3cb216a6a942b0e4

Contents?: true

Size: 361 Bytes

Versions: 47

Compression:

Stored size: 361 Bytes

Contents

module Brightbox
  class Zone < Api
    def self.require_account?; true; end

    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
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
brightbox-cli-3.3.0 lib/brightbox-cli/zones.rb
brightbox-cli-3.2.0 lib/brightbox-cli/zones.rb
brightbox-cli-3.1.0 lib/brightbox-cli/zones.rb
brightbox-cli-3.0.1 lib/brightbox-cli/zones.rb
brightbox-cli-3.0.0 lib/brightbox-cli/zones.rb
brightbox-cli-2.12.0 lib/brightbox-cli/zones.rb
brightbox-cli-2.11.2 lib/brightbox-cli/zones.rb
brightbox-cli-2.11.1 lib/brightbox-cli/zones.rb
brightbox-cli-2.11.0 lib/brightbox-cli/zones.rb
brightbox-cli-2.10.0 lib/brightbox-cli/zones.rb
brightbox-cli-2.9.3 lib/brightbox-cli/zones.rb
brightbox-cli-2.9.2 lib/brightbox-cli/zones.rb
brightbox-cli-2.9.1 lib/brightbox-cli/zones.rb
brightbox-cli-2.9.0 lib/brightbox-cli/zones.rb
brightbox-cli-2.8.2 lib/brightbox-cli/zones.rb
brightbox-cli-2.8.1 lib/brightbox-cli/zones.rb
brightbox-cli-2.8.0 lib/brightbox-cli/zones.rb
brightbox-cli-2.7.1 lib/brightbox-cli/zones.rb
brightbox-cli-2.7.0 lib/brightbox-cli/zones.rb
brightbox-cli-2.6.0 lib/brightbox-cli/zones.rb