Sha256: bfd1172c6ce8d343fcc0a2fbf2f908de73eec05c978ba3fcfbdf3e569ed4ae08

Contents?: true

Size: 534 Bytes

Versions: 1

Compression:

Stored size: 534 Bytes

Contents

# frozen_string_literal: true

module Omdb
  module Api
    module Types
      include Dry.Types()

      class MovieResult < Base
        attribute :imdb_id, Omdb::Api::Types::String.optional.default(nil)
        attribute :poster,  Omdb::Api::Types::String.optional.default(nil)
        attribute :title,   Omdb::Api::Types::String.optional.default(nil)
        attribute :type,    Omdb::Api::Types::String.optional.default(nil)
        attribute :year,    Omdb::Api::Types::String.optional.default(nil)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omdb-api-2.0.0 lib/omdb/api/types/movie_result.rb