Class: Mastodon::REST::Client

Inherits:
Client
  • Object
show all
Includes:
API
Defined in:
lib/mastodon/rest/client.rb

Overview

Main interaction class for the REST API.

Constant Summary

Constants inherited from Client

Client::DEFAULT_TIMEOUT

Instance Attribute Summary

Attributes inherited from Client

#base_url, #bearer_token, #timeout

Method Summary

Methods included from Filters

#create_filter, #delete_filter, #filter, #filters, #update_filter

Methods included from Utils

#array_param, #perform_request, #perform_request_with_collection, #perform_request_with_object

Methods included from Lists

#account_lists, #create_list, #delete_list, #list, #list_accounts, #list_add_accounts, #list_remove_accounts, #lists, #update_list

Methods included from Instances

#block_domain, #domain_blocks, #instance, #unblock_domain

Methods included from Apps

#create_app

Methods included from Suggestions

#remove_suggestion, #suggestions

Methods included from Media

#update_media_description, #update_media_focus, #upload_media

Methods included from Relationships

#block, #follow, #mute, #relationships, #remote_follow, #unblock, #unfollow, #unmute

Methods included from Search

#search

Methods included from Notifications

#notifications

Methods included from Timelines

#hashtag_timeline, #home_timeline, #public_timeline

Methods included from Accounts

#accept_follow_request, #account, #add_endorsement, #blocks, #endorsements, #follow_by_uri, #follow_requests, #followers, #following, #mutes, #reject_follow_request, #remove_endorsement, #report, #update_credentials, #verify_credentials

Methods included from Statuses

#create_status, #destroy_status, #favourite, #favourited_by, #mute_thread, #reblog, #reblogged_by, #status, #statuses, #unfavourite, #unmute_thread, #unreblog

Methods inherited from Client

#initialize, #user_agent

Constructor Details

This class inherits a constructor from Mastodon::Client