Class: Shep::Entity::Account

Inherits:
Shep::Entity show all
Defined in:
lib/shep/entities.rb

Overview

Ruby object representing a Mastodon Account object:

  • id (String)

  • username (String)

  • acct (String)

  • display_name (String)

  • locked (Boolean)

  • bot (Boolean)

  • created_at (Time)

  • followers_count (Integer)

  • following_count (Integer)

  • statuses_count (Integer)

  • note (String)

  • url (URI)

  • avatar (URI)

  • avatar_static (URI)

  • header (URI)

  • header_static (URI)

See Shep::Entity for an overview.

Method Summary

Methods inherited from Shep::Entity

#==, #[], #[]=, fields, from, #initialize, #print, #set_from_hash!, #to_h, #to_long_s, #to_s, with

Constructor Details

This class inherits a constructor from Shep::Entity