Class: Cybersourcery::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#profiles_pathObject

Returns the value of attribute profiles_path.



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

def profiles_path
  @profiles_path
end

#sop_live_urlObject

Returns the value of attribute sop_live_url.



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

def sop_live_url
  @sop_live_url
end

#sop_proxy_urlObject

Returns the value of attribute sop_proxy_url.



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

def sop_proxy_url
  @sop_proxy_url
end

#sop_test_urlObject

Returns the value of attribute sop_test_url.



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

def sop_test_url
  @sop_test_url
end

Instance Method Details

#profilesObject



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

def profiles
  @profiles ||= YAML.load_file profiles_path
end