Sha256: a7000c80d0f7fee5887392af0181a3fabfe26725bcc6f5d50604d39a2d01aba8
Contents?: true
Size: 355 Bytes
Versions: 5
Compression:
Stored size: 355 Bytes
Contents
class ProductionCompanyCollectionResourceResponse attr_accessor :id, :logo_path, :name def initialize self.id = 34 self.logo_path = "/56VlAu08MIE926dQNfBcUwTY8np.png" self.name = "Sony Pictures" end def to_hash { id: id, logo_path: logo_path, name: name } end def to_json to_hash.to_json end end
Version data entries
5 entries across 5 versions & 1 rubygems