Method: SML::GetProfileList::Response#to_a

Defined in:
lib/ruby-sml/sml-getprofilelist.rb

#to_aObject



86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/ruby-sml/sml-getprofilelist.rb', line 86

def to_a
  period_list_array = []
  period_list.each do |entry|
    period_list_array << entry.to_a
  end

  result = [] << server_id << act_time.to_a << registration_period
  result << :uint32 unless registration_period.nil?
  result << parameter_treepath.to_a << val_time.to_a << status
  result << :uint64 unless status.nil?

  return result << period_list_array << raw_data << period_signature
end