Class: Strikeiron::Configuration
- Inherits:
-
Object
- Object
- Strikeiron::Configuration
- Defined in:
- lib/strikeiron2/configuration.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#ssl_verify_mode ⇒ Object
Returns the value of attribute ssl_verify_mode.
-
#ssl_version ⇒ Object
Returns the value of attribute ssl_version.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/strikeiron2/configuration.rb', line 5 def initialize # set default options (can be overwritten in configure block) self.ssl_version = :TLSv1 self.ssl_verify_mode = :none end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/strikeiron2/configuration.rb', line 3 def password @password end |
#ssl_verify_mode ⇒ Object
Returns the value of attribute ssl_verify_mode.
3 4 5 |
# File 'lib/strikeiron2/configuration.rb', line 3 def ssl_verify_mode @ssl_verify_mode end |
#ssl_version ⇒ Object
Returns the value of attribute ssl_version.
3 4 5 |
# File 'lib/strikeiron2/configuration.rb', line 3 def ssl_version @ssl_version end |
#user_id ⇒ Object
Returns the value of attribute user_id.
3 4 5 |
# File 'lib/strikeiron2/configuration.rb', line 3 def user_id @user_id end |