Class: Payhub::Health
- Inherits:
-
Struct
- Object
- Struct
- Payhub::Health
- Defined in:
- lib/payhub/types.rb
Instance Attribute Summary collapse
-
#psps ⇒ Object
Returns the value of attribute psps.
-
#status ⇒ Object
Returns the value of attribute status.
Class Method Summary collapse
Instance Attribute Details
#psps ⇒ Object
Returns the value of attribute psps
29 30 31 |
# File 'lib/payhub/types.rb', line 29 def psps @psps end |
#status ⇒ Object
Returns the value of attribute status
29 30 31 |
# File 'lib/payhub/types.rb', line 29 def status @status end |
Class Method Details
.from_raw(raw) ⇒ Object
30 31 32 |
# File 'lib/payhub/types.rb', line 30 def self.from_raw(raw) new(status: raw["status"].to_s, psps: Array(raw["psps"])) end |