Class: MlaActiveDutyStatus::Configuration
- Inherits:
-
Object
- Object
- MlaActiveDutyStatus::Configuration
- Defined in:
- lib/mla_active_duty_status/configuration.rb
Instance Attribute Summary collapse
-
#ca_path ⇒ Object
Returns the value of attribute ca_path.
-
#max_years_for_age_check ⇒ Object
Returns the value of attribute max_years_for_age_check.
-
#mla_host ⇒ Object
Returns the value of attribute mla_host.
-
#mla_path ⇒ Object
Returns the value of attribute mla_path.
-
#ssl_verify ⇒ Object
Returns the value of attribute ssl_verify.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
20 21 22 23 24 25 26 |
# File 'lib/mla_active_duty_status/configuration.rb', line 20 def initialize @max_years_for_age_check = 100 @mla_host = 'mla.dmdc.osd.mil' @mla_path = '/mla/single_record.xhtml' @ssl_verify = true @ca_path = "#{ENV['JAVA_HOME']}/jre/lib/security/cacerts" end |
Instance Attribute Details
#ca_path ⇒ Object
Returns the value of attribute ca_path.
18 19 20 |
# File 'lib/mla_active_duty_status/configuration.rb', line 18 def ca_path @ca_path end |
#max_years_for_age_check ⇒ Object
Returns the value of attribute max_years_for_age_check.
18 19 20 |
# File 'lib/mla_active_duty_status/configuration.rb', line 18 def max_years_for_age_check @max_years_for_age_check end |
#mla_host ⇒ Object
Returns the value of attribute mla_host.
18 19 20 |
# File 'lib/mla_active_duty_status/configuration.rb', line 18 def mla_host @mla_host end |
#mla_path ⇒ Object
Returns the value of attribute mla_path.
18 19 20 |
# File 'lib/mla_active_duty_status/configuration.rb', line 18 def mla_path @mla_path end |
#ssl_verify ⇒ Object
Returns the value of attribute ssl_verify.
18 19 20 |
# File 'lib/mla_active_duty_status/configuration.rb', line 18 def ssl_verify @ssl_verify end |