app/business_logic/services/trakt/data/movie_ids.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module Services
  module Trakt
    module Data
      class MovieIds < Dry::Struct
        transform_keys(&:to_sym)

        attribute :imdb?, Types::Coercible::String.optional
        attribute :tmdb?, Types::Coercible::Integer.optional
        attribute :trakt?, Types::Coercible::Integer.optional
        attribute :slug?, Types::Coercible::String.optional
      end
    end
  end
end