Class: YSM::LocationService::UsernameToken

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/LocationService.rb,
lib/ysm4r/v2/LocationService.rb,
lib/ysm4r/v1/sandbox/LocationService.rb,
lib/ysm4r/v2/sandbox/LocationService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username = nil, password = nil) ⇒ UsernameToken

Returns a new instance of UsernameToken.



31
32
33
34
# File 'lib/ysm4r/v1/LocationService.rb', line 31

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

Instance Attribute Details

#passwordObject

Returns the value of attribute password.



29
30
31
# File 'lib/ysm4r/v1/LocationService.rb', line 29

def password
  @password
end

#usernameObject

Returns the value of attribute username.



28
29
30
# File 'lib/ysm4r/v1/LocationService.rb', line 28

def username
  @username
end