Class: YSM::BudgetingService::UsernameToken

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/BudgetingService.rb,
lib/ysm4r/v2/BudgetingService.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/BudgetingService.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/BudgetingService.rb', line 29

def password
  @password
end

#usernameObject

Returns the value of attribute username.



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

def username
  @username
end