Sha256: 2d65e8d430f0c47f08da05d8415decbc117c2e18146b3344ad9eef77972c4cd9

Contents?: true

Size: 274 Bytes

Versions: 6

Compression:

Stored size: 274 Bytes

Contents

module TD::Types
  # Represents the type of a network.
  class NetworkType < Base
    %w[
      none
      mobile
      mobile_roaming
      wi_fi
      other
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/network_type/#{type}"
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/network_type.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/network_type.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/network_type.rb
tdlib-ruby-2.2.0 lib/tdlib/types/network_type.rb
tdlib-ruby-2.1.0 lib/tdlib/types/network_type.rb
tdlib-ruby-2.0.0 lib/tdlib/types/network_type.rb