Sha256: 4cf861dcd7da07627d86e1d9ff29dd6ca39f0ff39dbcb14f09fe94c3cea140fb
Contents?: true
Size: 743 Bytes
Versions: 5
Compression:
Stored size: 743 Bytes
Contents
#!/usr/bin/env ruby # encoding: utf-8 class AyaDN def debugStream puts @view.new(@hash).showDebugStream end def ayadnDebugStream @hash = @api.getUnified(nil) debugStream end def ayadnDebugPost(postID) @hash = @api.getPostInfos(postID) debugStream end def ayadnDebugUser(username) @hash = @api.getUserInfos(username) debugStream end def ayadnDebugMessage(channel_id, message_id) @hash = @api.getUniqueMessage(channel_id, message_id) debugStream end def buildDebugStream(post_hash) # ret_string = "" # post_hash.each do |k, v| # ret_string << "#{k}: #{v}\n\n" # end jj post_hash #exit #return ret_string end def ayadnDebugChannel(channel) @hash = @api.getMessages(channel, nil) jj @hash end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ayadn-0.6.4 | lib/ayadn/debug.rb |
ayadn-0.6.3 | lib/ayadn/debug.rb |
ayadn-0.6.2 | lib/ayadn/debug.rb |
ayadn-0.6.1 | lib/ayadn/debug.rb |
ayadn-0.6.0 | lib/ayadn/debug.rb |