Sha256: e6aced47063e24e60f507f03034af064a4bfca97e92d9da29ecaf5c38aff25a0
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
module Alexagram class Request def initialize json @json = json @dictionary = JSON.parse(@json) end def type @dictionary['request']['type'] end def requestId @dictionary['request']['requestId'] end def locale @dictionary['request']['locale'] end def timestamp @dictionary['request']['timestamp'] end def intent_json @dictionary['request']['intent'] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alexagram-1.0 | lib/alexagram/request.rb |