Method: Delphix::Utils#utc_httpdate

Defined in:
lib/delphix/utils.rb

#utc_httpdateDate, Time

Return the date and time in “HTTP-date” format as defined by RFC 7231.

Returns:

  • (Date, Time)

    in “HTTP-date” format



27
28
29
# File 'lib/delphix/utils.rb', line 27

def utc_httpdate
  Time.now.utc.httpdate
end