Class: Telegem::Types::UserProfilePhotos
- Defined in:
- lib/api/types.rb
Instance Attribute Summary
Attributes inherited from BaseType
Instance Method Summary collapse
-
#initialize(data) ⇒ UserProfilePhotos
constructor
A new instance of UserProfilePhotos.
Methods inherited from BaseType
#inspect, #method_missing, #respond_to_missing?, #to_h, #to_s
Constructor Details
#initialize(data) ⇒ UserProfilePhotos
Returns a new instance of UserProfilePhotos.
640 641 642 643 |
# File 'lib/api/types.rb', line 640 def initialize(data) super(data) wrap_array('photos', PhotoSize) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Telegem::Types::BaseType