Sha256: aa9957362f164e80e40bb6893eac2bd9e39c0208721f5e7c7ea168e36d0089ec
Contents?: true
Size: 262 Bytes
Versions: 7
Compression:
Stored size: 262 Bytes
Contents
class CreditsCollectionResponse attr_accessor :id, :cast def initialize self.id = 550 self.cast = [CreditsResponse.new] end def to_hash { id: id, cast: cast.map(&:to_hash) } end def to_json to_hash.to_json end end
Version data entries
7 entries across 7 versions & 1 rubygems