Class: Instant2fa::Configuration
- Inherits:
-
Object
- Object
- Instant2fa::Configuration
- Defined in:
- lib/instant2fa/configuration.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#access_secret ⇒ Object
Returns the value of attribute access_secret.
-
#api_base ⇒ Object
Returns the value of attribute api_base.
-
#debug ⇒ Object
Returns the value of attribute debug.
Instance Method Summary collapse
- #debug? ⇒ Boolean
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 |
# File 'lib/instant2fa/configuration.rb', line 10 def initialize @api_base = 'https://api.instant2fa.com/' end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
5 6 7 |
# File 'lib/instant2fa/configuration.rb', line 5 def access_key @access_key end |
#access_secret ⇒ Object
Returns the value of attribute access_secret.
6 7 8 |
# File 'lib/instant2fa/configuration.rb', line 6 def access_secret @access_secret end |
#api_base ⇒ Object
Returns the value of attribute api_base.
7 8 9 |
# File 'lib/instant2fa/configuration.rb', line 7 def api_base @api_base end |
#debug ⇒ Object
Returns the value of attribute debug.
8 9 10 |
# File 'lib/instant2fa/configuration.rb', line 8 def debug @debug end |
Instance Method Details
#debug? ⇒ Boolean
14 15 16 |
# File 'lib/instant2fa/configuration.rb', line 14 def debug? @debug end |