Class: SFML::Network::Ftp::Response
- Inherits:
-
Object
- Object
- SFML::Network::Ftp::Response
- Defined in:
- lib/sfml/network/ftp.rb
Overview
Generic response: most FTP operations return this.
Instance Attribute Summary collapse
-
#handle ⇒ Object
readonly
:nodoc:.
Instance Method Summary collapse
Instance Attribute Details
#handle ⇒ Object (readonly)
:nodoc:
131 132 133 |
# File 'lib/sfml/network/ftp.rb', line 131 def handle @handle end |
Instance Method Details
#message ⇒ Object
130 |
# File 'lib/sfml/network/ftp.rb', line 130 def = C::Network.sfFtpResponse_getMessage(@handle).to_s |
#ok? ⇒ Boolean
127 |
# File 'lib/sfml/network/ftp.rb', line 127 def ok? = C::Network.sfFtpResponse_isOk(@handle) |
#status ⇒ Object
128 |
# File 'lib/sfml/network/ftp.rb', line 128 def status = C::Network.sfFtpResponse_getStatus(@handle) |
#status_symbol ⇒ Object
129 |
# File 'lib/sfml/network/ftp.rb', line 129 def status_symbol = STATUS_NAMES[status] || status |