class Cb::Requests::User::ChangePassword

Public Instance Methods

body() click to toggle source
# File lib/cb/requests/user/change_password.rb, line 25
        def body
          <<-eos
            <Request>
              <DeveloperKey>#{Cb.configuration.dev_key}</DeveloperKey>
              <ExternalID>#{args[:external_id]}</ExternalID>
              <Test>#{test?}</Test>
              <OldPassword>#{args[:old_password]}</OldPassword>
              <NewPassword>#{args[:new_password]}</NewPassword>
            </Request>
          eos
        end
endpoint_uri() click to toggle source
# File lib/cb/requests/user/change_password.rb, line 17
def endpoint_uri
  Cb.configuration.uri_user_change_password
end
http_method() click to toggle source
# File lib/cb/requests/user/change_password.rb, line 21
def http_method
  :post
end