Class: Api::Activation
Constant Summary
Constants inherited from Billing
Billing::API_HOST, Billing::KEY_PATH
Instance Method Summary collapse
Methods inherited from Billing
#api_call_result, #auth_key, #host_with_port, #hostname, #response, #success_api_call?, #uri
Instance Method Details
#activate ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/api/activation.rb', line 6 def activate if activated_successfully? save_auth_key else raise "Can't activate server at billing" end end |