Class: ChatbotHelper::Telegram::PhotoSizeCollection

Inherits:
CollectionResource show all
Defined in:
lib/chatbot_helper/telegram/photo_size.rb

Overview

A photo_size collection which represents an array of photo_size resources

Instance Attribute Summary

Attributes inherited from CollectionResource

#elements

Attributes inherited from BaseResource

#hash

Class Method Summary collapse

Methods inherited from CollectionResource

#each, #initialize, valid_resource?

Methods inherited from BaseResource

#==, #initialize, optional_arrays, optional_fields, optional_objects, required_arrays, required_fields, required_objects, #to_s, valid_resource!, valid_resource?

Constructor Details

This class inherits a constructor from ChatbotHelper::Telegram::CollectionResource

Class Method Details

.collection_typeObject



19
20
21
# File 'lib/chatbot_helper/telegram/photo_size.rb', line 19

def collection_type
  ChatbotHelper::Telegram::PhotoSize
end