Module: Citrix::Training::Helpers::Initializer
- Included in:
- Client, Credentials, Namespace::Registrants, Namespace::Trainings, Resource::Registrant, Resource::Training, Serializer::Registrant, Serializer::Training, Serializer::TrainingDate
- Defined in:
- lib/citrix/training/helpers/initializer.rb
Instance Method Summary collapse
Instance Method Details
#initialize(attributes = {}) ⇒ Object
5 6 7 8 9 |
# File 'lib/citrix/training/helpers/initializer.rb', line 5 def initialize(attributes = {}) attributes.each do |name, value| public_send "#{name}=", value end end |