Class: OTX::User
- Inherits:
-
Type::Base
- Object
- Type::Base
- OTX::User
- Defined in:
- lib/otx_ruby/types/user.rb
Overview
AlienVault OTX User Record
Instance Attribute Summary collapse
-
#accepted_edits_count ⇒ Integer
Number of Users edits that have been accepted.
-
#avatar_url ⇒ String
URL for Users avatar image.
-
#award_count ⇒ Integer
Number of awards this User has received.
-
#awards ⇒ Array<String>
Array of awards this User has received.
-
#follower_count ⇒ Integer
Number of other Users following this User.
-
#member_since ⇒ String
Number of days since User created their account.
-
#pulse_count ⇒ Integer
Number of Pulses created.
-
#subscriber_count ⇒ Integer
Number of other Users subscribed to this User.
-
#user_id ⇒ String
User ID.
-
#username ⇒ String
User name.
Attributes inherited from Type::Base
Method Summary
Methods inherited from Type::Base
Constructor Details
This class inherits a constructor from OTX::Type::Base
Instance Attribute Details
#accepted_edits_count ⇒ Integer
Number of Users edits that have been accepted
16 17 18 |
# File 'lib/otx_ruby/types/user.rb', line 16 def accepted_edits_count @accepted_edits_count end |
#avatar_url ⇒ String
URL for Users avatar image
16 17 18 |
# File 'lib/otx_ruby/types/user.rb', line 16 def avatar_url @avatar_url end |
#award_count ⇒ Integer
Number of awards this User has received
16 17 18 |
# File 'lib/otx_ruby/types/user.rb', line 16 def award_count @award_count end |
#awards ⇒ Array<String>
Array of awards this User has received
16 17 18 |
# File 'lib/otx_ruby/types/user.rb', line 16 def awards @awards end |
#follower_count ⇒ Integer
Number of other Users following this User
16 17 18 |
# File 'lib/otx_ruby/types/user.rb', line 16 def follower_count @follower_count end |
#member_since ⇒ String
Number of days since User created their account
16 17 18 |
# File 'lib/otx_ruby/types/user.rb', line 16 def member_since @member_since end |
#pulse_count ⇒ Integer
Number of Pulses created
16 17 18 |
# File 'lib/otx_ruby/types/user.rb', line 16 def pulse_count @pulse_count end |
#subscriber_count ⇒ Integer
Number of other Users subscribed to this User
16 17 18 |
# File 'lib/otx_ruby/types/user.rb', line 16 def subscriber_count @subscriber_count end |
#user_id ⇒ String
User ID
16 17 18 |
# File 'lib/otx_ruby/types/user.rb', line 16 def user_id @user_id end |
#username ⇒ String
User name
16 17 18 |
# File 'lib/otx_ruby/types/user.rb', line 16 def username @username end |