Class: Postio::Models::MetaConnect
- Inherits:
-
Data
- Object
- Data
- Postio::Models::MetaConnect
- Defined in:
- lib/postio/models.rb
Overview
MetaConnect — meta block for /connect (no count).
Instance Attribute Summary collapse
-
#performance ⇒ Object
readonly
Returns the value of attribute performance.
-
#request_id ⇒ Object
readonly
Returns the value of attribute request_id.
Class Method Summary collapse
Instance Attribute Details
#performance ⇒ Object (readonly)
Returns the value of attribute performance
24 25 26 |
# File 'lib/postio/models.rb', line 24 def performance @performance end |
#request_id ⇒ Object (readonly)
Returns the value of attribute request_id
24 25 26 |
# File 'lib/postio/models.rb', line 24 def request_id @request_id end |
Class Method Details
.from_hash(h) ⇒ Object
25 26 27 28 29 30 |
# File 'lib/postio/models.rb', line 25 def self.from_hash(h) new( request_id: h["requestId"].to_s, performance: Performance.from_hash(h["performance"]) ) end |