class Phantomblaster::Models::User
Attributes
agents[R]
email[R]
Public Class Methods
find()
click to toggle source
# File lib/phantomblaster/models/user.rb, line 4 def self.find data = Phantomblaster::Client.get('/user') new(data) end
new(params)
click to toggle source
# File lib/phantomblaster/models/user.rb, line 11 def initialize(params) @email = params['email'] @agents = params['agents'] end