w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • Bulletin
  • Posts
doc_ruby_on_rails
doc_ruby_on_rails


default_pop3s_port

default_pop3s_port() Class Public methods The default port for POP3S connections, port 995

default_pop3_port

default_pop3_port() Class Public methods The default port for POP3 connections, port 110

create_ssl_params

create_ssl_params(verify_or_params = {}, certs = nil) Class Public methods Constructs proper parameters from arguments

certs

certs() Class Public methods returns the :ca_file or :ca_path from ::ssl_params

auth_only

auth_only(address, port = nil, account = nil, password = nil, isapop = false) Class Public methods Opens a POP3 session, attempts authentication, and quits. This method raises POPAuthenticationError if authentication fails. Example: normal POP3 Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword') Example: APOP Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword', true)

APOP

APOP(isapop) Class Public methods Returns the APOP class if isapop is true; otherwise, returns the POP class. For example: # Example 1 pop = Net::POP3::APOP($is_apop).new(addr, port) # Example 2 Net::POP3::APOP($is_apop).start(addr, port) do |pop| .... end

write

write(str) Instance Public methods Also aliased as: print

puts

puts(str = '') Instance Public methods

printf

printf(*args) Instance Public methods

print

print(str) Instance Public methods Alias for: write

Page 1692 of 2275

|< < Prev 1689 1690 1691 1692 1693 1694 1695 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions