Method: Orange::Radius#parse_text

Defined in:
lib/orange-more/slices/resources/radius.rb

#parse_text(packet, text = false) ⇒ Object



27
28
29
30
31
32
33
# File 'lib/orange-more/slices/resources/radius.rb', line 27

def parse_text(packet, text = false)
  content = text
  unless content.blank? 
    parser = ::Radius::PacketParser.new(context, :tag_prefix => 'o')
    parser.parse(content, packet)
  end
end