
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
MoneyKit is the next generation connection for the world's money.
This is an autogenerated Ruby SDK for OpenFGA. It provides a wrapper around the MoneyKit API definition.
Use bundle add
bundle add moneykit.gemspec
or add the following to your Gemfile
gem 'moneykit', '~> 0.2.2'
Please follow the installation procedure and then run the following code:
# Load the gem
require 'moneykit'
# Setup authorization
MoneyKit.configure do |config|
# Defaults to MoneyKit-Version: 2023-02-18
# Configure Bearer authorization
config.host = ENV['MONEYKIT_URL'] || 'https://api.moneykit.com'
end
begin
#/auth/token
access_token_api = MoneyKit::AccessTokenApi.new
response = access_token_api.create_access_token(
{
grant_type: 'client_credentials',
client_id: ENV['MONEYKIT_CLIENT_ID'],
client_secret: ENV['MONEYKIT_CLIENT_SECRET']
}
)
MoneyKit.configure do |config|
config.access_token = response.access_token
end
rescue MoneyKit::ApiError => e
puts "Exception when calling AccessTokenApi->create_access_token: #{e}"
end
See our Examples repository for more complete example projects.
require 'moneykit'
link_session_api = MoneyKit::LinkSessionApi.new
response = link_session_api.create_link_session(
MoneyKit::CreateLinkSessionRequest.new(
{
customer_user: { id: user.uuid },
redirect_uri: 'http://localhost:3000',
}
)
)
link_session_token = response.link_session_token
require 'moneykit'
exchangeable_token = 'TOKEN'
link_session_api = MoneyKit::LinkSessionApi.new
response = link_session_api.exchange_token(
MoneyKit::ExchangeTokenRequest.new({ exchangeable_token: exchangeable_token })
)
link_id = response.link_id
institution_id = response.link.institution_id
require 'moneykit'
link_id = 'LINK_ID'
links_api = MoneyKit::LinksApi.new
links_api.delete_link(link_id)
require 'moneykit'
link_id = 'LINK_ID'
accounts_api = MoneyKit::AccountsApi.new
response = accounts_api.get_accounts(link_id)
accounts = response.accounts
FAQs
Unknown package
We found that moneykit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.