Method: Mdm::Enrollment::Client#extract_from_response

Defined in:
lib/mdm/enrollment/client.rb

#extract_from_response(*attributes) ⇒ Object



29
30
31
32
33
# File 'lib/mdm/enrollment/client.rb', line 29

def extract_from_response(*attributes)
  return [] if response.nil?
  attributes.map { |attribute|
    response[attribute] }
end