Class: RecipientStatus
- Inherits:
-
Object
- Object
- RecipientStatus
- Includes:
- JSONHelper
- Defined in:
- lib/passbyme2fa-client/recipient_status.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ RecipientStatus
constructor
A new instance of RecipientStatus.
Methods included from JSONHelper
Constructor Details
#initialize(json) ⇒ RecipientStatus
Returns a new instance of RecipientStatus.
8 9 10 11 |
# File 'lib/passbyme2fa-client/recipient_status.rb', line 8 def initialize(json) @user_id = get_json_field(json, "userId") @status = get_json_field(json, "status") end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
6 7 8 |
# File 'lib/passbyme2fa-client/recipient_status.rb', line 6 def status @status end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
6 7 8 |
# File 'lib/passbyme2fa-client/recipient_status.rb', line 6 def user_id @user_id end |