class XporterOnDemand::Registration::School
Attributes
message[RW]
status[RW]
Public Instance Methods
camelize()
click to toggle source
# File lib/xporter_on_demand/registration.rb, line 35 def camelize to_h.transform_keys{ |k| k.to_s.camelcase }.reject{ |_k, v| v.nil? || (String === v && v.empty?) } end
to_h()
click to toggle source
# File lib/xporter_on_demand/registration.rb, line 39 def to_h SCHOOL_ATTRIBUTES.each_with_object({}) do |key, hash| hash[key] = send(key) end end