Class: UEncode::Response
- Inherits:
-
Object
- Object
- UEncode::Response
- Includes:
- AttrSetting
- Defined in:
- lib/uencode/response.rb
Defined Under Namespace
Classes: BadRequesError, BadRequestError, NotAuthorizedError, NotFoundError, ServerError, UnacceptableError, UnknownError
Constant Summary collapse
- ATTRIBUTES =
[:code, :data]
Instance Method Summary collapse
-
#initialize(options) ⇒ Response
constructor
A new instance of Response.
Methods included from AttrSetting
Constructor Details
#initialize(options) ⇒ Response
Returns a new instance of Response.
17 18 19 20 |
# File 'lib/uencode/response.rb', line 17 def initialize() check_response_code [:code], [:data] super end |