Class: YSM::ExcludedWordsService::UsernameToken

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of UsernameToken.



107
108
109
110
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 107

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

Instance Attribute Details

#passwordObject

Returns the value of attribute password.



105
106
107
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 105

def password
  @password
end

#usernameObject

Returns the value of attribute username.



104
105
106
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 104

def username
  @username
end