Class: Bio::BaseSpace::AppSessionCompact
- Defined in:
- lib/basespace/model/app_session_compact.rb
Overview
Returned from GET purchases.
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#initialize ⇒ AppSessionCompact
constructor
Create a new object.
-
#to_s ⇒ Object
Return the name of the object.
Methods inherited from Model
#get_attr, #method_missing, #set_attr
Constructor Details
#initialize ⇒ AppSessionCompact
Create a new object.
23 24 25 26 27 28 29 30 31 32 |
# File 'lib/basespace/model/app_session_compact.rb', line 23 def initialize @swagger_types = { 'Id' => 'str', 'Name' => 'str', } @attributes = { 'Id' => nil, 'Name' => nil, } end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Bio::BaseSpace::Model
Instance Method Details
#to_s ⇒ Object
Return the name of the object.
35 36 37 |
# File 'lib/basespace/model/app_session_compact.rb', line 35 def to_s return get_attr('Name').to_s end |