Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shiphawk 0 8 stable #4

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open

Shiphawk 0 8 stable #4

wants to merge 47 commits into from

Conversation

vasiliysablin
Copy link

No description provided.

andrykonchin and others added 30 commits May 18, 2019 08:18
This was pluralized in the README, but it looks like it won't work with
the s in there. This updates the README to show the working method name

correct method name, remove 'netsuite'
This was done to keep Classification consistent with Location and Department segments
add parent to custom record
The Invoice object has an amount property in netsuite that can be
returned in transaction searches.  It should be available here too.
* Specify the `NoMethodError` to keep RSpec happy and to ensure that
  other bugs don't sneak by as a passing test
* Upgrade single instance of `should` syntax to `expect`
It’s surprising to not be able to, in a rails console, increase
the verbosity of the gem’s logging without needing to:

1. Tweak an ENV variable or otherwise change an initializer
2. Directly set `Configuration#attributes`

Aka, I would expect the following to work, but it does not.

```
app:staging> NetSuite::Configuration.log_level
=> :info
app:staging> NetSuite::Configuration.log_level = :debug
=> :debug
app:staging> NetSuite::Configuration.log_level
=> :info
```

Seems like the only way to increase the verbosity is to directly set
the appropriate attribute:

```
gravity:staging> NetSuite::Configuration.attributes[:log_level]
=> :info
gravity:staging> NetSuite::Configuration.attributes[:log_level] = :debug
=> :debug
gravity:staging> NetSuite::Configuration.log_level
=> :debug
```

Moreover, this seems inconsistent with other configuration, for example
`Configuration#logger` and `#logger=`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.