Sha256: feed3d28332292540ab6af27326d859501ace396cda2e2bcf5d58a51ab7fc79e

Contents?: true

Size: 632 Bytes

Versions: 10

Compression:

Stored size: 632 Bytes

Contents

module Cuboid

module RPC
class Client
class Instance

# @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
class Proxy < Arachni::RPC::Proxy

    def initialize( client )
        super client, 'instance'
    end

    translate :status do |status|
        status.to_sym if status
    end

    translate :progress do |data|
        data = data.my_symbolize_keys
        data[:status] = data[:status].to_sym
        data
    end

    translate :abort_and_generate_report do |data|
        Report.from_rpc_data data
    end

    translate :generate_report do |data|
        Report.from_rpc_data data
    end

end

end
end
end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cuboid-0.1.3 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.1.2 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.1.1 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.1.0 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.0.5 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.0.4 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.0.3 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.0.3alpha lib/cuboid/rpc/client/instance/service.rb
cuboid-0.0.2alpha lib/cuboid/rpc/client/instance/service.rb
cuboid-0.0.1alpha lib/cuboid/rpc/client/instance/service.rb