Class: Rafflesia::CryoEmMapMetadataRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CryoEmMapMetadataRequest
- Defined in:
- lib/rafflesia/maps/cryo_em_map_metadata_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ map_id: :map_id }.freeze
Instance Attribute Summary collapse
-
#map_id ⇒ Object
Returns the value of attribute map_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ CryoEmMapMetadataRequest
constructor
A new instance of CryoEmMapMetadataRequest.
Constructor Details
#initialize(json) ⇒ CryoEmMapMetadataRequest
Returns a new instance of CryoEmMapMetadataRequest.
14 15 16 17 18 |
# File 'lib/rafflesia/maps/cryo_em_map_metadata_request.rb', line 14 def initialize(json) super() hash = self.class.normalize(json) @map_id = hash[:map_id] end |
Instance Attribute Details
#map_id ⇒ Object
Returns the value of attribute map_id.
12 13 14 |
# File 'lib/rafflesia/maps/cryo_em_map_metadata_request.rb', line 12 def map_id @map_id end |