Class: HipTail::Users
- Inherits:
-
Object
- Object
- HipTail::Users
- Defined in:
- lib/hiptail/atom.rb
Instance Attribute Summary collapse
- #max_results ⇒ Object readonly
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
- #start_index ⇒ Object readonly
-
#users ⇒ Array
readonly
Array of HipTail::User.
Instance Method Summary collapse
-
#initialize(params) ⇒ Users
constructor
A new instance of Users.
Constructor Details
#initialize(params) ⇒ Users
Returns a new instance of Users.
282 283 284 |
# File 'lib/hiptail/atom.rb', line 282 def initialize(params) @raw = params.dup end |
Instance Attribute Details
#max_results ⇒ Object (readonly)
299 300 301 |
# File 'lib/hiptail/atom.rb', line 299 def max_results @raw['maxResults'] end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
280 281 282 |
# File 'lib/hiptail/atom.rb', line 280 def raw @raw end |
#start_index ⇒ Object (readonly)
294 295 296 |
# File 'lib/hiptail/atom.rb', line 294 def start_index @raw['startIndex'] end |