Class: Imgur::Client
- Inherits:
-
BaseClient
- Object
- BaseClient
- Imgur::Client
- Defined in:
- (ruby-imgur 0.0.1) ruby-imgur/client.rb
Overview
OAuthClient and the main client for the library.
Constant Summary
Constants inherited from BaseClient
BaseClient::METHOD_PROCESS_MAP
Class Method Summary collapse
-
.base_url ⇒ String
get class' base url.
Instance Method Summary collapse
- #auto_refresh=(value)
-
#auto_refresh? ⇒ Boolean
Auto refresh token upon expiry.
- #auto_refresh_callback=(fun)
-
#initialize(**data) ⇒ Client
constructor
A new instance of Client.
-
#refresh_token
manually refreshes OAuth token.
-
#update(data)
update OAuthClient internals.
-
#version ⇒ Integer
API Version of the Client.
Methods included from Request::Image
#delete_image, #do_image_favorite, #get_image, #update_image_info, #upload_image
Methods included from Request::Gallery
#get_gallery_comments, #get_gallery_list
Methods included from Request::Album
#add_album_images, #create_album, #delete_album, #do_album_favorite, #get_album, #get_album_image, #get_album_images, #remove_album_images, #set_album_images, #update_album
Methods included from Request::Comment
#create_comment, #create_comment_reply, #delete_comment, #do_comment_report, #do_comment_vote, #get_comment, #get_comment_replies
Methods included from Request::Account
#delete_account, #do_account_follow_tag, #do_account_unfollow_tag, #get_account, #get_account_email_status, #get_account_reply_notifications, #get_account_settings, #send_account_email_verify, #update_account_settings
Methods included from Request::AccountImage
#delete_account_image, #get_account_image, #get_account_image_count, #get_account_image_ids, #get_account_images
Methods included from Request::AccountComment
#delete_account_comment, #get_account_comment, #get_account_comment_count, #get_account_comment_ids, #get_account_comments
Methods included from Request::AccountAlbum
#delete_account_album, #get_account_album, #get_account_album_count, #get_account_album_ids, #get_account_albums
Methods included from Request::AccountPublicInfo
#get_account_available_avatars, #get_account_avatar, #get_account_default_avatars, #get_account_favorites, #get_account_gallery_favorites, #get_account_submissions
Methods included from Request::AccountBlock
#get_account_block, #get_account_block_list, #set_account_block, #unset_account_block
Methods inherited from BaseClient
#base_url, create, inherit, #inspect
Constructor Details
#initialize(**data) ⇒ Client
Returns a new instance of Client.
Class Method Details
.base_url ⇒ String
get class' base url
Instance Method Details
#auto_refresh=(value)
This method returns an undefined value.
#auto_refresh? ⇒ Boolean
Returns auto refresh token upon expiry.
#auto_refresh_callback=(fun)
This method returns an undefined value.
#refresh_token
This method returns an undefined value.
manually refreshes OAuth token.
#update(data)
This method returns an undefined value.
update OAuthClient internals.
#version ⇒ Integer
Returns API Version of the Client.