Module: Imgur
- Defined in:
-
(ruby-imgur 0.0.1) ruby-imgur.rb
(ruby-imgur 0.0.1) ruby-imgur/util.rb
(ruby-imgur 0.0.1) ruby-imgur/model.rb
(ruby-imgur 0.0.1) ruby-imgur/client.rb
(ruby-imgur 0.0.1) ruby-imgur/version.rb
(ruby-imgur 0.0.1) ruby-imgur/response.rb
(ruby-imgur 0.0.1) ruby-imgur/client_request.rb
Overview
Defined Under Namespace
Modules: Model, Request, Response Classes: BaseClient, Client
Constant Summary collapse
- VERSION =
gem version
'0.0.1'
- @@base_uri =
default base URI for the app.
-'https://api.imgur.com'
Class Method Summary collapse
-
.base_uri ⇒ String
Return base uri of API calls.
-
.base_uri=(value)
change the base uri of Imgur calls.
-
.base_uri_commercial!
set base uri to commercial one
imgur-apiv3.p.rapidapi.com
. -
.base_uri_default!
set base uri to default one
api.imgur.com
. -
.safe_glob(dir, *args, **kwargs, &block) ⇒ Object
a safer glob operation that escapes meta-characters on directory.
Class Method Details
.base_uri ⇒ String
Return base uri of API calls.
.base_uri=(value)
This method returns an undefined value.
change the base uri of Imgur calls.
.base_uri_commercial!
This method returns an undefined value.
set base uri to commercial one imgur-apiv3.p.rapidapi.com
.
.base_uri_default!
This method returns an undefined value.
set base uri to default one api.imgur.com
.
.safe_glob(dir, *args, **kwargs, &block) ⇒ Object
move #safe_glob, #barename, #require_ns to some common library for my own framework of work.
All the values are pure proxy of Dir#glob
a safer glob operation that escapes meta-characters on directory