class GlobalSign::Request
Public Instance Methods
auth_token_hash()
click to toggle source
# File lib/global_sign/request.rb, line 14 def auth_token_hash { AuthToken: { UserName: GlobalSign.configuration.user_name, Password: GlobalSign.configuration.password, } } end
auth_token_params()
click to toggle source
# File lib/global_sign/request.rb, line 10 def auth_token_params { "#{request_header}": auth_token_hash } end
to_xml()
click to toggle source
# File lib/global_sign/request.rb, line 3 def to_xml GlobalSign::RequestXmlBuilder.build_xml( action: action, params: auth_token_params.merge(params) ) end