Class: LiveAddress::Configuration
- Inherits:
-
Object
- Object
- LiveAddress::Configuration
- Defined in:
- lib/live_address/configuration.rb
Instance Attribute Summary collapse
-
#api_endpoint ⇒ Object
Returns the value of attribute api_endpoint.
-
#auth_id ⇒ Object
Returns the value of attribute auth_id.
-
#auth_token ⇒ Object
Returns the value of attribute auth_token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 |
# File 'lib/live_address/configuration.rb', line 6 def initialize @api_endpoint = 'https://api.smartystreets.com/street-address' end |
Instance Attribute Details
#api_endpoint ⇒ Object
Returns the value of attribute api_endpoint.
4 5 6 |
# File 'lib/live_address/configuration.rb', line 4 def api_endpoint @api_endpoint end |
#auth_id ⇒ Object
Returns the value of attribute auth_id.
4 5 6 |
# File 'lib/live_address/configuration.rb', line 4 def auth_id @auth_id end |
#auth_token ⇒ Object
Returns the value of attribute auth_token.
4 5 6 |
# File 'lib/live_address/configuration.rb', line 4 def auth_token @auth_token end |