Sha256: fe3d3c0f2700919d879181b4e92e03a4de48cb8ac37802472f18ec883c94d88f

Contents?: true

Size: 406 Bytes

Versions: 6

Compression:

Stored size: 406 Bytes

Contents

module Leetchi
    # Operation
    class Operation < Leetchi::Ressource

        # Get an operation
        #
        # * *Args*    :
        #   - +operation_id+ -> The id of the operation you want to retrieve
        # * *Returns* :
        #   - An operation object
        #
        def self.get(operation_id)
            get_request(File.join('operations', operation_id.to_s))
        end
    end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
leetchi-wallet-services-1.2.1 lib/leetchi/operation.rb
leetchi-wallet-services-1.2.0 lib/leetchi/operation.rb
leetchi-wallet-services-1.1.1 lib/leetchi/operation.rb
leetchi-wallet-services-1.1.0 lib/leetchi/operation.rb
leetchi-wallet-services-1.0.0 lib/leetchi/operation.rb
leetchi-wallet-services-0.0.1 lib/leetchi/operation.rb