You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
327 B
11 lines
327 B
2 weeks ago
|
class CollectionResource
|
||
|
include ActiveModel::Model
|
||
|
include Rails.application.routes.url_helpers
|
||
|
|
||
|
attr_accessor :resource_type, :display_name, :short_display_name, :year, :log_type, :download_filename, :file
|
||
|
|
||
|
def download_path
|
||
|
download_mandatory_collection_resource_path(log_type:, year:, resource_type:)
|
||
|
end
|
||
|
end
|