Sha256: c3365fd1c0dbc3fdc954e6f0476fa390b9f8fc3b4f650f52c04a4fcc08824b40
Contents?: true
Size: 369 Bytes
Versions: 1
Compression:
Stored size: 369 Bytes
Contents
class Talk attr_reader :title, :description, :notes, :abstract, :audience_level, :talk_format def initialize(json_hash) @title = json_hash[:title] @description = json_hash[:description] @notes = json_hash[:notes] @abstract = json_hash[:abstract] @audience_level = json_hash[:audience_level] @talk_format = json_hash[:talk_format] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
papercall-1.0.0 | lib/papercall/models/talk.rb |