class HipTail::Users
Attributes
raw[R]
Public Class Methods
new(params)
click to toggle source
# File lib/hiptail/atom.rb, line 282 def initialize(params) @raw = params.dup end
Public Instance Methods
max_results()
click to toggle source
@attribute [r] max_results
# File lib/hiptail/atom.rb, line 299 def max_results @raw['maxResults'] end
start_index()
click to toggle source
@attribute [r] start_index
# File lib/hiptail/atom.rb, line 294 def start_index @raw['startIndex'] end
users()
click to toggle source
@attribute [r] users @return [Array] Array of HipTail::User
.
# File lib/hiptail/atom.rb, line 288 def users @users ||= @raw['items'].map { |item| User.new(item) } @users end