class Cb::Criteria::User::ChangePassword
Attributes
external_id[RW]
new_password[RW]
old_password[RW]
test[RW]
Public Class Methods
new(args = {})
click to toggle source
# File lib/cb/criteria/user/change_password.rb, line 18 def initialize(args = {}) @external_id = args[:external_id] || '' @old_password = args[:old_password] || '' @new_password = args[:new_password] || '' @test = args[:test] || 'false' end
Public Instance Methods
to_xml()
click to toggle source
# File lib/cb/criteria/user/change_password.rb, line 25 def to_xml Nokogiri::XML::Builder.new do |xml| xml.Request do xml.DeveloperKey Cb.configuration.dev_key xml.ExternalID external_id xml.OldPassword old_password xml.NewPassword new_password xml.Test test end end.to_xml end