Class: GTFS::Meta::FeedVersion

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/gtfs/meta/models/feed_version.rb

Instance Method Summary collapse

Instance Method Details

#destination_pathObject



10
11
12
# File 'lib/gtfs/meta/models/feed_version.rb', line 10

def destination_path
  "#{GTFS_DATA_DIRECTORY}/publishers/#{feed.source_host_name}/feeds/#{feed.source_title.downcase.gsub("-","").gsub(" ","")}/versions/#{etag}"
end