Parent

Methods

Class/Module Index [+]

Quicksearch

RHC::Commands::Account

Public Instance Methods

run() click to toggle source
# File lib/rhc/commands/account.rb, line 12
def run
  user = rest_client.user

  say format_table              ["Login #{user.login} on #{openshift_server}"],
        get_properties(user, :id, :plan_id, :consumed_gears, :max_gears, :max_domains).
          concat(get_properties(user.capabilities, :gear_sizes)).
          push(['SSL Certificates:', user.capabilities.private_ssl_certificates ? 'yes' : 'no']), 
        :delete => true

  0
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.