Module: PexelsApiClient::Config
- Defined in:
- lib/pexels_api_client/config.rb
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.base_url ⇒ Object
Returns the value of attribute base_url.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
6 7 8 |
# File 'lib/pexels_api_client/config.rb', line 6 def api_key @api_key end |
.base_url ⇒ Object
Returns the value of attribute base_url.
6 7 8 |
# File 'lib/pexels_api_client/config.rb', line 6 def base_url @base_url end |
Class Method Details
.reset ⇒ Object
8 9 10 11 |
# File 'lib/pexels_api_client/config.rb', line 8 def reset @api_key = nil @base_url = PexelsApiClient::BASE_URL end |