Sha256: 0ef3a6838de88f20524adcf3d2f8b23fb13741c44ff73a313a22d3f4171d1f40
Contents?: true
Size: 348 Bytes
Versions: 5
Compression:
Stored size: 348 Bytes
Contents
module AlexaSkillsRuby module JsonObjects class Card < JsonObject attributes :type, :title, :content, :text json_object_attributes :image, Image def self.simple(title, content) card = new card.type = "Simple" card.title = title card.content = content card end end end end
Version data entries
5 entries across 5 versions & 1 rubygems