Sha256: a74a6a27bd72a8c47d4e8118d4b4f9b825c9e2946ab21d6b919d4b4a62f634d7
Contents?: true
Size: 1.25 KB
Versions: 1
Compression:
Stored size: 1.25 KB
Contents
require 'fog/core/model' module Fog module Compute class Brightbox class Account < Fog::Model identity :id attribute :resource_type attribute :url attribute :name attribute :status attribute :address_1 attribute :address_2 attribute :city attribute :county attribute :postcode attribute :country_code attribute :country_name attribute :vat_registration_number attribute :telephone_number attribute :telephone_verified attribute :ram_limit attribute :ram_used attribute :cloud_ips_limit attribute :library_ftp_host attribute :library_ftp_user # This is always returned as null/nil unless performing a reset_ftp_password request attribute :library_ftp_password attribute :created_at, :type => :time attribute :owner_id, :aliases => "owner", :squash => "id" attribute :clients attribute :images attribute :servers attribute :users attribute :zones def reset_ftp_password requires :identity connection.reset_ftp_password_account(identity)["library_ftp_password"] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-0.11.0 | lib/fog/compute/models/brightbox/account.rb |