Class: WealthForge3::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/wealthforge/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



10
11
12
13
14
15
16
# File 'lib/wealthforge/configuration.rb', line 10

def initialize
  @session_id = nil
  @environment = nil
  @api_url = nil
  @production_url = "https://wealthforgeprod01.decisions.com/Primary/restapi/Flow/"
  @sandbox_url = "https://wealthforgedev01.decisions.com/decisions/Primary/restapi/Flow"
end

Instance Attribute Details

#api_urlObject

Returns the value of attribute api_url.



4
5
6
# File 'lib/wealthforge/configuration.rb', line 4

def api_url
  @api_url
end

#environmentObject

Returns the value of attribute environment.



5
6
7
# File 'lib/wealthforge/configuration.rb', line 5

def environment
  @environment
end

#production_urlObject

Returns the value of attribute production_url.



7
8
9
# File 'lib/wealthforge/configuration.rb', line 7

def production_url
  @production_url
end

#sandbox_urlObject

Returns the value of attribute sandbox_url.



8
9
10
# File 'lib/wealthforge/configuration.rb', line 8

def sandbox_url
  @sandbox_url
end

#session_idObject

Returns the value of attribute session_id.



3
4
5
# File 'lib/wealthforge/configuration.rb', line 3

def session_id
  @session_id
end

#versionObject

Returns the value of attribute version.



6
7
8
# File 'lib/wealthforge/configuration.rb', line 6

def version
  @version
end