Show movies watched on weekly posts

This commit is contained in:
2023-05-13 12:45:31 +10:00
parent f613717852
commit bcaab0754a
12 changed files with 101 additions and 28 deletions

View File

@@ -0,0 +1,15 @@
require "omdb/api"
module Adamantium
module Client
class Omdb
def initialize(api_key:)
@client = ::Omdb::Api::Client.new(api_key: api_key)
end
def call(imdb_id:)
@client.find_by_id(imdb_id)
end
end
end
end