class MikuTwitter

Public Class Methods

TwitterError(code=nil) click to toggle source
# File core/lib/mikutwitter/error.rb, line 28
def MikuTwitter.TwitterError(code=nil)
  if code
    Class.new(MikuTwitter::TwitterError) do
      define_singleton_method(:code) { code } end
  else
    MikuTwitter::TwitterError end end