Class: ProveKeybase::SerializableUser
- Inherits:
-
Object
- Object
- ProveKeybase::SerializableUser
- Includes:
- ActiveModel::Serialization
- Defined in:
- app/models/prove_keybase/serializable_user.rb
Instance Attribute Summary collapse
-
#avatar_url ⇒ Object
Returns the value of attribute avatar_url.
-
#keybase_proofs ⇒ Object
Returns the value of attribute keybase_proofs.
Instance Method Summary collapse
-
#initialize(keybase_proofs, avatar_url) ⇒ SerializableUser
constructor
A new instance of SerializableUser.
Constructor Details
#initialize(keybase_proofs, avatar_url) ⇒ SerializableUser
Returns a new instance of SerializableUser.
5 6 7 8 |
# File 'app/models/prove_keybase/serializable_user.rb', line 5 def initialize(keybase_proofs, avatar_url) @keybase_proofs = keybase_proofs @avatar_url = avatar_url end |
Instance Attribute Details
#avatar_url ⇒ Object
Returns the value of attribute avatar_url.
3 4 5 |
# File 'app/models/prove_keybase/serializable_user.rb', line 3 def avatar_url @avatar_url end |
#keybase_proofs ⇒ Object
Returns the value of attribute keybase_proofs.
3 4 5 |
# File 'app/models/prove_keybase/serializable_user.rb', line 3 def keybase_proofs @keybase_proofs end |