Sha256: e7caac6a4c340114c1694f19736e4a159e52a8265413c9dc887b19cf1c69226d

Contents?: true

Size: 623 Bytes

Versions: 24

Compression:

Stored size: 623 Bytes

Contents

module Cuboid

module RPC
class Client
class Instance

# @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
class Proxy < Toq::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

24 entries across 24 versions & 1 rubygems

Version Path
cuboid-0.2.13 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.12 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.11 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.10 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.9 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.8 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.7 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.6 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.5 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.4.2 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.4.1 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.4 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.3 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.2 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2.1 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.2 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.1.9.1 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.1.9 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.1.8 lib/cuboid/rpc/client/instance/service.rb
cuboid-0.1.7 lib/cuboid/rpc/client/instance/service.rb