docbrown/app/services/images/profile_image_generator.rb
Duke Greene 9a6f04bd37
api v1 endpoint for creating an organization (#19778)
* 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
2023-07-21 07:43:56 -04:00

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