Class: SauceNAO::Model::HeaderedData
- Inherits:
-
Object
- Object
- SauceNAO::Model::HeaderedData
- Defined in:
- (ruby-saucenao 0.0.1) ruby-saucenao/model.rb
Direct Known Subclasses
Constant Summary collapse
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#header ⇒ Object
readonly
Returns the value of attribute header.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(header, data) ⇒ HeaderedData
constructor
A new instance of HeaderedData.
- #to_h ⇒ Object (also: #to_hash, #as_json)
Constructor Details
#initialize(header, data) ⇒ HeaderedData
Returns a new instance of HeaderedData.
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
#header ⇒ Object (readonly)
Returns the value of attribute header.