Files
adamantium/app/commands/posts/create_bookmark.rb
2023-01-27 22:55:09 +11:00

13 lines
234 B
Ruby

module Adamantium
module Commands
module Posts
class CreateBookmark < Command
include Deps["repos.post_repo"]
def call(bookmark)
post_repo.create(bookmark)
end
end
end
end
end