Sha256: 040b97cd9f1ad1e19e046b890e823c20112c8b4fd9c411370dec70408f06fe5e

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 Bytes

Contents

module TD::Types
  # Describes the type of a poll.
  class PollType < Base
    %w[
      regular
      quiz
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/poll_type/#{type}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/poll_type.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/poll_type.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/poll_type.rb