Class: WeatherApiAssignment::Configuration
- Inherits:
-
Object
- Object
- WeatherApiAssignment::Configuration
- Defined in:
- lib/weather_api_assignment/configuration.rb
Overview
All configuration including auth info and base URI for the API access are configured in this class.
Class Attribute Summary collapse
-
.appid ⇒ Object
Returns the value of attribute appid.
-
.array_serialization ⇒ Object
Returns the value of attribute array_serialization.
-
.base_uri ⇒ Object
Returns the value of attribute base_uri.
Class Attribute Details
.appid ⇒ Object
Returns the value of attribute appid.
21 22 23 |
# File 'lib/weather_api_assignment/configuration.rb', line 21 def appid @appid end |
.array_serialization ⇒ Object
Returns the value of attribute array_serialization.
19 20 21 |
# File 'lib/weather_api_assignment/configuration.rb', line 19 def array_serialization @array_serialization end |
.base_uri ⇒ Object
Returns the value of attribute base_uri.
20 21 22 |
# File 'lib/weather_api_assignment/configuration.rb', line 20 def base_uri @base_uri end |