Sha256: 671b0979ae07db0f884361d68d8ec881cd19ab5633ddd24309102bf263fedd8c
Contents?: true
Size: 311 Bytes
Versions: 1
Compression:
Stored size: 311 Bytes
Contents
module MyAnimeList class Serializer attr_accessor :response def initialize(resp) @response = resp end def entry hash = XmlSimple.xml_in(response, force_array: false) hash['entry'] end def call XmlSimple.xml_in(response, force_array: false) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
myanimelist-1.0.0 | lib/myanimelist/serializer.rb |