Class: Nis::Transaction::ProvisionNamespace
- Inherits:
-
Object
- Object
- Nis::Transaction::ProvisionNamespace
- Includes:
- Mixin::Network, Util::Assignable
- Defined in:
- lib/nis/transaction/provision_namespace.rb
Overview
Constant Summary collapse
- TYPE =
8193 (provision namespace transaction)
0x2001- FEE =
20_000_000
Instance Attribute Summary collapse
-
#deadline ⇒ Integer
The current value of deadline.
- #fee ⇒ Integer
-
#newPart ⇒ String
(also: #new_part)
The current value of newPart.
-
#parent ⇒ String
The current value of parent.
-
#rentalFee ⇒ Integer
(also: #rental_fee)
The current value of rentalFee.
-
#rentalFeeSink ⇒ String
(also: #rental_fee_sink)
The current value of rentalFeeSink.
-
#signature ⇒ String
The current value of signature.
-
#signer ⇒ String
The current value of signer.
-
#timeStamp ⇒ Integer
(also: #timestamp)
The current value of timeStamp.
- #type ⇒ Integer
-
#version ⇒ Integer
The current value of version.
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Util::Assignable
Methods included from Mixin::Network
Instance Attribute Details
#deadline ⇒ Integer
Returns the current value of deadline.
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def deadline @deadline end |
#fee ⇒ Integer
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def fee @fee end |
#newPart ⇒ String Also known as: new_part
Returns the current value of newPart.
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def newPart @newPart end |
#parent ⇒ String
Returns the current value of parent.
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def parent @parent end |
#rentalFee ⇒ Integer Also known as: rental_fee
Returns the current value of rentalFee.
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def rentalFee @rentalFee end |
#rentalFeeSink ⇒ String Also known as: rental_fee_sink
Returns the current value of rentalFeeSink.
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def rentalFeeSink @rentalFeeSink end |
#signature ⇒ String
Returns the current value of signature.
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def signature @signature end |
#signer ⇒ String
Returns the current value of signer.
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def signer @signer end |
#timeStamp ⇒ Integer Also known as: timestamp
Returns the current value of timeStamp.
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def timeStamp @timeStamp end |
#type ⇒ Integer
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def type @type end |
#version ⇒ Integer
Returns the current value of version.
14 15 16 |
# File 'lib/nis/transaction/provision_namespace.rb', line 14 def version @version end |
Class Method Details
.build(attrs) ⇒ Object
34 35 36 |
# File 'lib/nis/transaction/provision_namespace.rb', line 34 def self.build(attrs) new(attrs) end |
Instance Method Details
#to_hash ⇒ Object
50 51 52 53 54 |
# File 'lib/nis/transaction/provision_namespace.rb', line 50 def to_hash type fee to_hash_old end |
#to_hash_old ⇒ Object
48 |
# File 'lib/nis/transaction/provision_namespace.rb', line 48 alias to_hash_old to_hash |