module Patreon::Schemas::User

Public Class Methods

default_attributes() click to toggle source
# File lib/patreon/schemas/user.rb, line 50
def default_attributes
  [
    Attributes::EMAIL,
    Attributes::FIRST_NAME,
    Attributes::LAST_NAME,
    Attributes::FULL_NAME,
    Attributes::GENDER,
    Attributes::STATUS,
    Attributes::VANITY,
    Attributes::ABOUT,
    Attributes::FACEBOOK_ID,
    Attributes::IMAGE_URL,
    Attributes::THUMB_URL,
    Attributes::THUMBNAILS,
    Attributes::YOUTUBE,
    Attributes::TWITTER,
    Attributes::FACEBOOK,
    Attributes::TWITCH,
    Attributes::IS_SUSPENDED,
    Attributes::IS_DELETED,
    Attributes::IS_NUKED,
    Attributes::CREATED,
    Attributes::URL,
  ]
end
default_relationships() click to toggle source
# File lib/patreon/schemas/user.rb, line 76
def default_relationships
  [
    Relationships::CAMPAIGN,
    Relationships::PLEDGES,
  ]
end