class GusBir1::Response::FullData
Attributes
body[R]
Public Class Methods
new(body)
click to toggle source
# File lib/gus_bir1/response/full_data.rb, line 6 def initialize(body) @body = body end
Public Instance Methods
to_h()
click to toggle source
# File lib/gus_bir1/response/full_data.rb, line 12 def to_h n = Nokogiri.XML body Nori.new.parse(n.xpath('//dane').to_s)['dane'] end