Sha256: ceb4f74bcb4ac1cf724e40f018dcbc10d8037631088a8c6c2b0e176060bd1c57

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

module MangoPay
    # Operation
    class Operation < MangoPay::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

1 entries across 1 versions & 1 rubygems

Version Path
mangopay-2.0.0 lib/mangopay/operation.rb