Class: Comunit::Network::Handlers::UserHandler

Inherits:
Comunit::Network::Handler show all
Defined in:
app/services/comunit/network/handlers/user_handler.rb

Constant Summary

Constants inherited from Comunit::Network::Handler

Comunit::Network::Handler::MAIN_HOST

Instance Attribute Summary

Attributes inherited from Comunit::Network::Handler

#data, #entity

Class Method Summary collapse

Methods inherited from Comunit::Network::Handler

[], #amend, #entity_class, #initialize, #prepare_model_data, #pull, #pull_and_validate, #push, relationship_data

Methods included from Sending

#headers, #rest

Methods included from Logging

#log, #log_error, #log_info, #log_warn

Constructor Details

This class inherits a constructor from Comunit::Network::Handler

Class Method Details

.ignored_attributesObject



15
16
17
# File 'app/services/comunit/network/handlers/user_handler.rb', line 15

def self.ignored_attributes
  super + %w[image]
end

.permitted_attributesObject



7
8
9
10
11
12
13
# File 'app/services/comunit/network/handlers/user_handler.rb', line 7

def self.permitted_attributes
  i[
    birthday bot consent created_at email email_confirmed foreign_slug
    ip language_id password_digest phone phone_confirmed screen_name
    slug super_user updated_at uuid search_string referral_link
  ]
end