
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
DEV.ME SDK for Ruby
Compatible with Ruby on Rails
Signup Here and Get Your Free API Key
Install the module through GEM:
gem install devme-sdk-ruby
Or GEMFILE:
gem "devme-sdk-ruby", "~> 1.0"
require 'devme-sdk-ruby'
DevmeSdk.configure do |config|
config.api_key['APIKeyHeader'] = 'demo-key'
end
@api_instance = DevmeSdk::CurrencyApi.new
result = @api_instance.v1_convert_currency(from = 'USD', to = 'EUR', opts = { amount: 10 })
# puts result
# {
# convertedAmount: 8.819,
# convertedText: '10 USD equal to 8.819 EUR',
# exchangeRate: 0.8819,
# from: 'USD',
# originalAmount: 10,
# rateTime: '2022-01-20T14:49:28.046Z',
# to: 'EUR'
# }
require 'devme-sdk-ruby'
DevmeSdk.configure do |config|
config.api_key['APIKeyHeader'] = 'demo-key'
end
@api_instance = DevmeSdk::IPApi.new
result = @api_instance.v1_get_ip_details(opts = { ip: '52.45.23.11' })
# {
# asn: 14618,
# aso: 'AMAZON-AES',
# city: {
# accuracyRadius: 1000,
# latitude: 39.0469,
# longitude: -77.4903,
# metroCode: 511,
# name: 'Ashburn',
# timeZone: 'America/New_York',
# },
# countryCode: 'US',
# ip: '52.45.23.11',
# registeredCountryCode: 'US',
# }
bundle exec rake
If you need help please drop us a message, we would be glad to help @ Contact us
Please feel free to open an issue or create a pull request and fix bugs or add features, All contributions are welcome. Thank you!
FAQs
Unknown package
We found that devme-sdk-ruby demonstrated a not healthy version release cadence and project activity because the last version was released 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
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.