Class: Rafflesia::DiamondDbPublishRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DiamondDbPublishRequest
- Defined in:
- lib/rafflesia/sequences/diamond_db_publish_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ manifest_object_id: :manifest_object_id, manifest_path: :manifest_path, ref: :ref }.freeze
Instance Attribute Summary collapse
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#ref ⇒ Object
Returns the value of attribute ref.
Instance Method Summary collapse
-
#initialize(json) ⇒ DiamondDbPublishRequest
constructor
A new instance of DiamondDbPublishRequest.
Constructor Details
#initialize(json) ⇒ DiamondDbPublishRequest
Returns a new instance of DiamondDbPublishRequest.
19 20 21 22 23 24 25 |
# File 'lib/rafflesia/sequences/diamond_db_publish_request.rb', line 19 def initialize(json) super() hash = self.class.normalize(json) @manifest_object_id = hash[:manifest_object_id] @manifest_path = hash[:manifest_path] @ref = hash[:ref] end |
Instance Attribute Details
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
14 15 16 |
# File 'lib/rafflesia/sequences/diamond_db_publish_request.rb', line 14 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
14 15 16 |
# File 'lib/rafflesia/sequences/diamond_db_publish_request.rb', line 14 def manifest_path @manifest_path end |
#ref ⇒ Object
Returns the value of attribute ref.
14 15 16 |
# File 'lib/rafflesia/sequences/diamond_db_publish_request.rb', line 14 def ref @ref end |