Sha256: a37f85a74a47236de54bdf15f94133c942b0e93a8bc96e8f184afe37491534b8

Contents?: true

Size: 230 Bytes

Versions: 9

Compression:

Stored size: 230 Bytes

Contents

class Pupil
  def lookup param={}
    response = self.get("/users/lookup.json", param)
    users = Array.new
    response.each do |element|
      user = User.new element
      users << user
    end
    return users
  end
  
  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pupil-0.2.2 lib/pupil/users.rb
pupil-0.2.1 lib/pupil/users.rb
pupil-0.2.0 lib/pupil/users.rb
pupil-0.1.5 lib/pupil/users.rb
pupil-0.1.4 lib/pupil/users.rb
pupil-0.1.3 lib/pupil/users.rb
pupil-0.1.2 lib/pupil/users.rb
pupil-0.1.1 lib/pupil/users.rb
pupil-0.1.0 lib/pupil/users.rb