class Citrix::Training::Resource::Registrant
Constants
- ATTRIBUTES
Attributes
confirmation_url[RW]
Set the confirmation url.
email[RW]
Set the e-mail.
first_name[RW]
Set the first name of the user.
join_url[RW]
Set the join url.
key[RW]
Set the registrant key.
last_name[RW]
Set the last name of the user.
status[RW]
Set the status.
Public Class Methods
deserialize(attributes)
click to toggle source
Convert `attributes` into parameters that Citrix::Training::Resource::Registrant
can understand.
# File lib/citrix/training/resource/registrant.rb, line 42 def self.deserialize(attributes) Serializer::Registrant.new(attributes: attributes).deserialize end
serialize(attributes)
click to toggle source
Convert `attributes` into parameters that Citrix
API can understand.
# File lib/citrix/training/resource/registrant.rb, line 36 def self.serialize(attributes) Serializer::Registrant.new(attributes: attributes).serialize end
Public Instance Methods
attributes()
click to toggle source
Return a hash containing all attributes.
# File lib/citrix/training/resource/registrant.rb, line 47 def attributes ATTRIBUTES.each_with_object({}) do |name, buffer| buffer[name] = public_send(name) end end
serialize()
click to toggle source
Serialize the attributes.
# File lib/citrix/training/resource/registrant.rb, line 54 def serialize self.class.serialize(attributes) end