Method: NetSuite::Configuration#email
- Defined in:
- lib/netsuite/configuration.rb
#email(email = nil) ⇒ Object
97 98 99 100 101 102 103 104 105 |
# File 'lib/netsuite/configuration.rb', line 97 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 |