Sha256: cd30ef70c6522e709119327f55c78a2ad5a2d358a77010faae587e56ba2eb968

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Omdb
  module Api
    module PublicApi
      module Search
        def search(value, **options)
          perform_get(
            klass: Omdb::Api::Types::Movies,
            query_params: { search: value }.merge(options),
            headers: options.fetch(:headers, {})
          )
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omdb-api-2.0.0 lib/omdb/api/public_api/search.rb