Class: NeonMob

Inherits:
Object
  • Object
show all
Defined in:
lib/neon_mob.rb

Constant Summary collapse

URL =
URI('https://www.neonmob.com')

Instance Method Summary collapse

Constructor Details

#initialize(username, password) ⇒ NeonMob

Returns a new instance of NeonMob.



7
8
9
10
# File 'lib/neon_mob.rb', line 7

def initialize(username, password)
  @password = password
  @username = username
end

Instance Method Details

#loginObject



12
13
14
# File 'lib/neon_mob.rb', line 12

def 
  @login = post('/api/signin/', ).parse
end