Class: Rafflesia::CryoEmMapMetadataRequest

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_idObject

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