module BWAPI::Client::User::InstagramCredentials
InstagramCredentials
module for user/instagramcredentials endpoints
Public Instance Methods
delete_instagram_credentials()
click to toggle source
Delete current user Instagram credentials
@return [Hash] Current users deleted Instagram credentials
# File lib/bwapi/client/user/instagram_credentials.rb, line 16 def delete_instagram_credentials delete '/user/instagramcredentials' end
instagram_credentials()
click to toggle source
Get current user Instagram credentials
@return [Hash] Current user Instagram credentials
# File lib/bwapi/client/user/instagram_credentials.rb, line 9 def instagram_credentials get '/user/instagramcredentials' end
update_instagram_credentials(opts = {})
click to toggle source
Store the current user's Instagram credentials
@param opts [Hash] options Hash of parameters @option opts [String] accessToken Instagram API access token @option opts [String] clientId Instagram API client id @return [Hash] Current user Instagram credentials
# File lib/bwapi/client/user/instagram_credentials.rb, line 26 def update_instagram_credentials(opts = {}) put '/user/instagramcredentials', opts end