Class: OpenWeatherAPI::Resources::Raw
- Inherits:
-
Base
- Object
- Base
- OpenWeatherAPI::Resources::Raw
show all
- Defined in:
- lib/open-weather-api/resources/raw.rb
Instance Attribute Summary
Attributes inherited from Base
#api_obj
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#base_url ⇒ Object
10
11
12
|
# File 'lib/open-weather-api/resources/raw.rb', line 10
def base_url
return super + @resource
end
|
#execute(resource = '/', **args, &block) ⇒ Object
5
6
7
8
|
# File 'lib/open-weather-api/resources/raw.rb', line 5
def execute(resource = '/', **args, &block)
@resource = resource
super(**args, &block)
end
|