Class: Pray::RegistryPackageVersion
- Inherits:
-
Struct
- Object
- Struct
- Pray::RegistryPackageVersion
- Defined in:
- lib/pray/registry.rb
Instance Attribute Summary collapse
-
#artifact ⇒ Object
Returns the value of attribute artifact.
-
#artifact_hash ⇒ Object
Returns the value of attribute artifact_hash.
-
#exports ⇒ Object
Returns the value of attribute exports.
-
#published_at ⇒ Object
Returns the value of attribute published_at.
-
#signature ⇒ Object
Returns the value of attribute signature.
-
#signer ⇒ Object
Returns the value of attribute signer.
-
#signer_fingerprint ⇒ Object
Returns the value of attribute signer_fingerprint.
-
#targets ⇒ Object
Returns the value of attribute targets.
-
#tree_hash ⇒ Object
Returns the value of attribute tree_hash.
-
#version ⇒ Object
Returns the value of attribute version.
-
#yanked ⇒ Object
Returns the value of attribute yanked.
Instance Method Summary collapse
-
#initialize(artifact_hash: nil, tree_hash: nil, yanked: false, targets: [], exports: [], signer: nil, signer_fingerprint: nil, published_at: nil, signature: nil, **kwargs) ⇒ RegistryPackageVersion
constructor
A new instance of RegistryPackageVersion.
Constructor Details
#initialize(artifact_hash: nil, tree_hash: nil, yanked: false, targets: [], exports: [], signer: nil, signer_fingerprint: nil, published_at: nil, signature: nil, **kwargs) ⇒ RegistryPackageVersion
Returns a new instance of RegistryPackageVersion.
15 16 17 18 19 20 21 22 |
# File 'lib/pray/registry.rb', line 15 def initialize( artifact_hash: nil, tree_hash: nil, yanked: false, targets: [], exports: [], signer: nil, signer_fingerprint: nil, published_at: nil, signature: nil, **kwargs ) super(**kwargs, artifact_hash: artifact_hash, tree_hash: tree_hash, yanked: yanked, targets: targets, exports: exports, signer: signer, signer_fingerprint: signer_fingerprint, published_at: published_at, signature: signature) end |
Instance Attribute Details
#artifact ⇒ Object
Returns the value of attribute artifact
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def artifact @artifact end |
#artifact_hash ⇒ Object
Returns the value of attribute artifact_hash
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def artifact_hash @artifact_hash end |
#exports ⇒ Object
Returns the value of attribute exports
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def exports @exports end |
#published_at ⇒ Object
Returns the value of attribute published_at
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def published_at @published_at end |
#signature ⇒ Object
Returns the value of attribute signature
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def signature @signature end |
#signer ⇒ Object
Returns the value of attribute signer
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def signer @signer end |
#signer_fingerprint ⇒ Object
Returns the value of attribute signer_fingerprint
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def signer_fingerprint @signer_fingerprint end |
#targets ⇒ Object
Returns the value of attribute targets
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def targets @targets end |
#tree_hash ⇒ Object
Returns the value of attribute tree_hash
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def tree_hash @tree_hash end |
#version ⇒ Object
Returns the value of attribute version
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def version @version end |
#yanked ⇒ Object
Returns the value of attribute yanked
11 12 13 |
# File 'lib/pray/registry.rb', line 11 def yanked @yanked end |