Sha256: 729d60a4e6d196d51715d85bbc13dff9f75a50ed412538fc2a0ffb9efcd8a66e

Contents?: true

Size: 1.09 KB

Versions: 5

Compression:

Stored size: 1.09 KB

Contents

# encoding: ASCII-8BIT
module INetDicV06
  InterfaceNS = 'http://btonic.est.co.jp/NetDic/NetDicV06'

  Methods = [
    ['GetDicList',
      [:out, 'DicInfoList'], [:out, 'ErrorMessage'],
      [:retval, 'GetDicListResult']],
    ['SearchDicItem',
      [:in, 'DicID'], [:in, 'QueryString'], [:in, 'ScopeOption'],
      [:in, 'MatchOption'], [:in, 'FormatOption'], [:in, 'ResourceOption'],
      [:in, 'CharsetOption'], [:in, 'ReqItemIndex'],
      [:in, 'ReqItemTitleCount'], [:in, 'ReqItemContentCount']],
    ['GetDicItem',
      [:in, 'DicID'], [:in, 'ItemID'], [:in, 'FormatOption'],
      [:in, 'ResourceOption'], [:in, 'CharsetOption']],
  ]

  def INetDicV06.add_method( drv )
    Methods.each do |method, *param|
      drv.add_method_with_soapaction(method, InterfaceNS + "/#{ method }", param)
    end
  end

  class DicInfo
    attr_accessor :DicID
    attr_accessor :FullName
    attr_accessor :ShortName
    attr_accessor :Publisher
    attr_accessor :Abbrev
    attr_accessor :LogoURL
    attr_accessor :StartItemID
    attr_accessor :SearchOptionList
    attr_accessor :DefSearchOptionIndex
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
soap5r-2.0.3 sample/showcase/soap/netDicV06/INetDicV06.rb
soap5r-2.0.2 sample/showcase/soap/netDicV06/INetDicV06.rb
soap5r-2.0.1 sample/showcase/soap/netDicV06/INetDicV06.rb
soap5r-2.0.0 sample/showcase/soap/netDicV06/INetDicV06.rb
soap5r-2.0.0.20120130130121 sample/showcase/soap/netDicV06/INetDicV06.rb