class ActionKitApi::User

Attributes

address1[RW]

Other/Active

address2[RW]

Other/Active

akid[RW]

Other/Active

city[RW]

Other/Active

country[RW]

Other/Active

custom_fields[RW]

Other/Active

email[RW]

Required

first_name[RW]

Required

id[RW]

Required

lang[RW]

Other/Active

last_name[RW]

Required

middle_name[RW]

Other/Active

password[RW]

Other/Active

plus4[RW]

Other/Active

postal[RW]

Other/Active

prefix[RW]

Other/Active

rand_id[RW]

Other/Active

region[RW]

Other/Active

source[RW]

Other/Active

state[RW]

Other/Active

state_name[RW]

Other/Active

subscription_status[RW]

Other/Active

suffix[RW]

Other/Active

token[RW]

Other/Active

zip[RW]

Required

Public Class Methods

new(*args) click to toggle source
Calls superclass method ActionKitApi::ApiDataModel::new
# File lib/action_kit_api/user.rb, line 16
def initialize(*args)
  @required_attrs = [:email, :first_name, :last_name, :zip]
  @read_only_attrs =[:subscription_status]
  super
end