Class: Profitbricks::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/profitbricks/config.rb

Class Attribute Summary collapse

Class Attribute Details

.global_classesObject

Disable namespacing the classes, set to false to avoid name conflicts, default: true



9
10
11
# File 'lib/profitbricks/config.rb', line 9

def global_classes
  @global_classes
end

.logObject

Set to true to enable Savons request/response logging, default: false



13
14
15
# File 'lib/profitbricks/config.rb', line 13

def log
  @log
end

.passwordObject

Your Profitbricks password (required)



7
8
9
# File 'lib/profitbricks/config.rb', line 7

def password
  @password
end

.polling_intervalObject

Set the polling interval in seconds for the Server#wait_for_running and DataCenter#wait_for_provisioning methods, default: 1



15
16
17
# File 'lib/profitbricks/config.rb', line 15

def polling_interval
  @polling_interval
end

.save_responsesObject

Development only, saves SOAP responses on disk, default: false



11
12
13
# File 'lib/profitbricks/config.rb', line 11

def save_responses
  @save_responses
end

.usernameObject

Your Profitbricks username (required)



5
6
7
# File 'lib/profitbricks/config.rb', line 5

def username
  @username
end