class IMS::LTI::Converters::TimeJSONConverter

Public Class Methods

from_json_value(json_val) click to toggle source
# File lib/ims/lti/converters/time_json_converter.rb, line 8
def self.from_json_value(json_val)
  Time.parse(json_val)
end
to_json_value(time) click to toggle source
# File lib/ims/lti/converters/time_json_converter.rb, line 4
def self.to_json_value(time)
  time
end