Class: Upyun::Util

Inherits:
Object
  • Object
show all
Defined in:
lib/upyun-rb/util.rb

Class Method Summary collapse

Class Method Details

.current_dateObject



4
5
6
# File 'lib/upyun-rb/util.rb', line 4

def current_date
  Time.now.utc.strftime('%a, %d %b %Y %H:%M:%S GMT')
end