fault_object.rb
来自「Flex for rails的开发demo源码」· RB 代码 · 共 13 行
RB
13 行
#returning an instance of this will cause flash / flex to call the onFault handler of your service.module Rubyamf module Faults class FaultObject < Hash def initialize(message = '') self['code'] = 1 self['faultCode'] = 1 self['message'] = message self['faultString'] = message end end endend
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?