Exception: Atom::Pub::ProtocolError
- Inherits:
-
StandardError
- Object
- StandardError
- Atom::Pub::ProtocolError
- Defined in:
- lib/atom/pub.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ProtocolError
constructor
A new instance of ProtocolError.
Constructor Details
#initialize(response) ⇒ ProtocolError
Returns a new instance of ProtocolError.
20 21 22 |
# File 'lib/atom/pub.rb', line 20 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
19 20 21 |
# File 'lib/atom/pub.rb', line 19 def response @response end |