Sha256: a285a25fa8aa946ab086310d3423a8e50894d1d4fda2b5132fc7effdb9ac1ea9
Contents?: true
Size: 524 Bytes
Versions: 1
Compression:
Stored size: 524 Bytes
Contents
# frozen_string_literal: true module Omdb module Api class Movie attr_reader :actors :awards :country :director :genre :imdb_id :imdb_rating :imdb_votes :language :metascore :plot :poster :rated :released :runtime :title :type :writer :year :error def initialize(params) params.each_pair do |k, v| instance_variable_set("@#{k}", v) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omdb-api-1.3.0 | lib/omdb/api/movie.rb |