Sha256: a6c2d28b599f74a15338dda6435c2195003b89c5e012eb4a7f3ccfe5051204b0
Contents?: true
Size: 460 Bytes
Versions: 4
Compression:
Stored size: 460 Bytes
Contents
# frozen_string_literal: true module Masks module Access # Access class for +actor.signup+. # # This access class creates a new actor. class ActorSignup include Access access "actor.signup" def signup(**opts) actor = configuration.build_actor(session, **opts.slice(:nickname, :email)) actor.password = opts[:password] actor.save if actor.valid? actor end end end end
Version data entries
4 entries across 4 versions & 1 rubygems