class Citrix::Training::Resource::Training
Constants
- ATTRIBUTES
Attributes
confirmation_email[RW]
Set confirmation e-mail delivery.
dates[RW]
Set the dates.
description[RW]
Set the description of the training.
key[RW]
Set the training key.
name[RW]
Set the name of the training.
organizers[RW]
Set the organizers.
timezone[RW]
Set the timezone.
web_registration[RW]
Set web registration.
Public Class Methods
deserialize(attributes)
click to toggle source
Convert `attributes` into parameters that Citrix::Training::Resource::Training
can understand.
# File lib/citrix/training/resource/training.rb, line 49 def self.deserialize(attributes) Serializer::Training.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/training.rb, line 43 def self.serialize(attributes) Serializer::Training.new(attributes: attributes).serialize end
Public Instance Methods
attributes()
click to toggle source
Return a hash containing all attributes.
# File lib/citrix/training/resource/training.rb, line 54 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/training.rb, line 61 def serialize self.class.serialize(attributes) end