Sha256: a9383ac8cadd51fd0fabfda0fe1f91f27129a6a8e8780c7f9d9c8cd6fb9dba87
Contents?: true
Size: 442 Bytes
Versions: 2
Compression:
Stored size: 442 Bytes
Contents
require 'active_support/core_ext/hash' class String def stringify_string hash = Hash.from_xml(self) "ST=#{hash['ListOpenMeetings']['Status']}&RS=#{hash['ListOpenMeetings']['Reason']}&MeetingKeys=#{hash['ListOpenMeetings']['MeetingKeys']}" rescue match(/(var url = |window.location.replace\()\"(.*)\"/)[2].gsub!('\\x3a',':').gsub!('\\x2f','/').gsub!('\\x3f','?').gsub!('\\x3d','=').gsub!('\\x26','&').split('?').last end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webex-0.0.3 | lib/core_ext/string.rb |
webex-0.0.2 | lib/core_ext/string.rb |