Class: ProteusClient::Config

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

Overview

Used to configure default values used for creating a ProteusClient::Proxy

Examples:

Configuring values

ProteusClient.config.root = "http://localhost:9292"
ProteusClient.config.api_key= "api_key"
ProteusClient.config. = "account"

Instance Attribute Summary collapse

Instance Attribute Details

#accountObject

Returns the value of attribute account.



10
11
12
# File 'lib/proteus_client/config.rb', line 10

def 
  @account
end

#api_keyObject

Returns the value of attribute api_key.



10
11
12
# File 'lib/proteus_client/config.rb', line 10

def api_key
  @api_key
end

#rootObject

Returns the value of attribute root.



10
11
12
# File 'lib/proteus_client/config.rb', line 10

def root
  @root
end