module PupilfirstXapi::Actors

Public Class Methods

agent(actor) click to toggle source
# File lib/pupilfirst_xapi/actors.rb, line 3
def self.agent(actor)
  Xapi.create_agent(agent_type: 'Agent', email: actor.email, name: actor.name)
end