Module: PixabayApi
- Defined in:
- lib/version.rb,
lib/pixabay_api.rb,
lib/pixabay_api/error.rb,
lib/pixabay_api/request.rb,
lib/pixabay_api/api_base.rb,
lib/pixabay_api/response.rb,
lib/pixabay_api/video_api.rb,
lib/pixabay_api/images_api.rb,
lib/pixabay_api/configuration.rb
Defined Under Namespace
Modules: Error
Classes: ApiBase, Configuration, ImagesApi, Request, Response, VideoApi
Constant Summary
collapse
- VERSION =
'0.0.5'
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
23
24
25
|
# File 'lib/pixabay_api.rb', line 23
def configuration
@configuration ||= Configuration.new
end
|
Class Method Details
19
20
21
|
# File 'lib/pixabay_api.rb', line 19
def configure
yield(configuration) if block_given?
end
|