Class: Postio::Models::ConnectSuccess
- Inherits:
-
Data
- Object
- Data
- Postio::Models::ConnectSuccess
- Defined in:
- lib/postio/models.rb
Instance Attribute Summary collapse
-
#meta ⇒ Object
readonly
Returns the value of attribute meta.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Class Method Summary collapse
Instance Attribute Details
#meta ⇒ Object (readonly)
Returns the value of attribute meta
191 192 193 |
# File 'lib/postio/models.rb', line 191 def @meta end |
#success ⇒ Object (readonly)
Returns the value of attribute success
191 192 193 |
# File 'lib/postio/models.rb', line 191 def success @success end |
Class Method Details
.from_hash(h) ⇒ Object
192 193 194 |
# File 'lib/postio/models.rb', line 192 def self.from_hash(h) new(success: h["success"] == true, meta: MetaConnect.from_hash(h["meta"])) end |