Method: NetSuite::Configuration#email
- Defined in:
- lib/netsuite/configuration.rb
#email(email = nil) ⇒ Object
111 112 113 114 115 116 117 118 119 |
# File 'lib/netsuite/configuration.rb', line 111 def email(email = nil) if email self.email = email else attributes[:email] || raise(ConfigurationError, '#email is a required configuration value. Please set it by calling NetSuite::Configuration.email = "[email protected]"') end end |