* api v1 endpoint for creating an organization * address failing specs, regenerate swagger docs * remove old comment in destroy now that woreker call takes third argument * refactor our services for profile images into images folder
7 lines
148 B
Ruby
7 lines
148 B
Ruby
module Images
|
|
module ProfileImageGenerator
|
|
def self.call
|
|
Rails.root.join("app/assets/images/#{rand(1..40)}.png").open
|
|
end
|
|
end
|
|
end
|