Module: CanvasDataClient::Helpers::TimeHelper
- Included in:
- HMACHelper
- Defined in:
- lib/canvas_data_client/helpers/time_helper.rb
Instance Method Summary collapse
Instance Method Details
#rfc7231(time) ⇒ Object
3 4 5 |
# File 'lib/canvas_data_client/helpers/time_helper.rb', line 3 def rfc7231(time) time.utc.strftime('%a, %d %b %Y %H:%M:%S GMT') end |