
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Simple, lightweight eBay Trading API Client.
Gemfile
:
gem 'ebay_client', '~> 0.3.0'
config/ebay_client.yml
:
development: &sandbox
api_keys:
- token: '<YOUR SANDBOX AUTHENTICATION TOKEN>'
devid: '<YOUR SANDBOX DEV ID>'
appid: '<YOUR SANDBOX APP ID>'
certid: '<YOUR SANDBOX CERT ID>'
test:
<<: *sandbox
production:
api_keys:
- token: '<YOUR LIVE AUTHENTICATION TOKEN>'
devid: '<YOUR LIVE DEV ID>'
appid: '<YOUR LIVE APP ID>'
certid: '<YOUR LIVE CERT ID>'
Fire up your console!
e.g. rails console
:
EbayClient.api.get_ebay_official_time!
# => {:timestamp=>Fri, 22 Nov 2013 12:31:02 +0000}
CamelCase
<=> snake_case
eBay
is mapped to ebay
, i.e. GeteBayOfficialTime
<=>
get_ebay_official_time
!
), i.e.
get_ebay_official_time
returns an EbayClient::Response
instance, which contains the ack
value, the payload
and possibly
errors
get_ebay_official_time!
returns the payload as a Hash
and raises
an EbayClient::Response::Exception
if the API returned an error.ebay_client.yml
. On initialization, the EbayClient will randomly
choose one of them. If you run out of API calls, it will automatically
switch to another key.ebay_client.yml
will be parsed
by the ERB interpreter.FAQs
Unknown package
We found that ebay_client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.