class Alexa::API::Base
Attributes
arguments[R]
response_body[R]
Public Class Methods
new(credentials)
click to toggle source
# File lib/alexa/api/base.rb, line 8 def initialize(credentials) if MultiXml.parser.to_s == "MultiXml::Parsers::Ox" raise StandardError, "MultiXml parser is set to :ox - alexa gem will not work with it currently, use one of: :libxml, :nokogiri, :rexml" end @credentials = credentials end
Public Instance Methods
parsed_body()
click to toggle source
# File lib/alexa/api/base.rb, line 15 def parsed_body @parsed_body ||= MultiXml.parse(response_body) end