Method: NetSuite::Configuration#auth_header
- Defined in:
- lib/netsuite/configuration.rb
#auth_header ⇒ Object
68 69 70 71 72 73 74 75 76 77 |
# File 'lib/netsuite/configuration.rb', line 68 def auth_header attributes[:auth_header] ||= { 'platformMsgs:passport' => { 'platformCore:email' => email, 'platformCore:password' => password, 'platformCore:account' => account.to_s, 'platformCore:role' => { :'@type' => 'role', :@internalId => role } } } end |