Module: X2CH::Response
- Included in:
- ArrayResponse, StringResponse
- Defined in:
- lib/x2ch.rb
Instance Attribute Summary collapse
-
#body_size ⇒ Object
Returns the value of attribute body_size.
-
#content_encoding ⇒ Object
Returns the value of attribute content_encoding.
-
#last_modified ⇒ Object
Returns the value of attribute last_modified.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#body_size ⇒ Object
Returns the value of attribute body_size.
143 144 145 |
# File 'lib/x2ch.rb', line 143 def body_size @body_size end |
#content_encoding ⇒ Object
Returns the value of attribute content_encoding.
143 144 145 |
# File 'lib/x2ch.rb', line 143 def content_encoding @content_encoding end |
#last_modified ⇒ Object
Returns the value of attribute last_modified.
143 144 145 |
# File 'lib/x2ch.rb', line 143 def last_modified @last_modified end |
#status ⇒ Object
Returns the value of attribute status.
143 144 145 |
# File 'lib/x2ch.rb', line 143 def status @status end |
Instance Method Details
#initialize(obj, status, last_modified, content_encoding, body_size) ⇒ Object
145 146 147 148 |
# File 'lib/x2ch.rb', line 145 def initialize(obj, status, last_modified, content_encoding, body_size) @status, @last_modified, @content_encoding, @body_size = status, last_modified, content_encoding, body_size super(obj) end |