Class: Profitbricks::Config

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

Class Attribute Summary (collapse)

Class Attribute Details

+ (Object) global_classes

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

+ (Object) log

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

+ (Object) password

Your Profitbricks password (required)



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

def password
  @password
end

+ (Object) polling_interval

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

+ (Object) save_responses

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

+ (Object) username

Your Profitbricks username (required)



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

def username
  @username
end