Class: AliyunSDK::OSS::Multipart::Transaction
- Inherits:
-
Common::Struct::Base
- Object
- Common::Struct::Base
- AliyunSDK::OSS::Multipart::Transaction
- Defined in:
- lib/aliyun_sdk/oss/multipart.rb
Overview
A multipart transaction. Provide the basic checkpoint methods.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Transaction
constructor
A new instance of Transaction.
Methods inherited from Common::Struct::Base
Methods included from Common::Struct::Base::AttrHelper
Constructor Details
#initialize(opts = {}) ⇒ Transaction
Returns a new instance of Transaction.
21 22 23 24 25 |
# File 'lib/aliyun_sdk/oss/multipart.rb', line 21 def initialize(opts = {}) super(opts) @mutex = Mutex.new end |