Sha256: e5798708818eb6a936ffe6b487bd227223c10fa7a9615154dd516503f5a5c89d

Contents?: true

Size: 258 Bytes

Versions: 19

Compression:

Stored size: 258 Bytes

Contents

module BERTRPC
  class Request
    attr_accessor :kind, :options

    def initialize(svc, kind, options)
      @svc = svc
      @kind = kind
      @options = options
    end

    def method_missing(cmd, *args)
      Mod.new(@svc, self, cmd)
    end
  end
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
mojombo-bertrpc-0.3.0 lib/bertrpc/request.rb
mojombo-bertrpc-0.3.2 lib/bertrpc/request.rb
bertrpc-1.3.1 lib/bertrpc/request.rb
fd-bertrpc-1.3.1 lib/bertrpc/request.rb
fd-bertrpc-1.3.0 lib/bertrpc/request.rb
bertrpc-1.3.0 lib/bertrpc/request.rb
bertrpc-1.2.1 lib/bertrpc/request.rb
bertrpc-1.2.0 lib/bertrpc/request.rb
bertrpc-0.4.2 lib/bertrpc/request.rb
bertrpc-1.1.2 lib/bertrpc/request.rb
bertrpc-0.4.1 lib/bertrpc/request.rb
bertrpc-1.1.1 lib/bertrpc/request.rb
bertrpc-1.1.0 lib/bertrpc/request.rb
bertrpc-1.0.0 lib/bertrpc/request.rb
bertrpc-0.4.0 lib/bertrpc/request.rb
bertrpc-0.3.4 lib/bertrpc/request.rb
bertrpc-0.3.2 lib/bertrpc/request.rb
bertrpc-0.3.1 lib/bertrpc/request.rb
bertrpc-0.3.0 lib/bertrpc/request.rb