
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
The iupick Ruby gem wraps the iupick API to facilitate access from applications written in ruby.
Keep in mind that this package requires iupick secret keys, contact info@iupick.com for more information.
Add this line to your application's Gemfile:
gem 'iupick'
And then execute:
$ bundle
Or install it yourself as:
$ gem install iupick
Add your secret and public tokens as required.
Never expose your secret token.
Methods that require your secret_token should never be done from the front-end. Since this methods deal with sensitive information.
require 'iupick'
Iupick.secret_token = 'sk_sandbox_4bdcd3630417c5119029859c08a7b8d9d97dda79'
Iupick.public_token = '315cdf3ca4dd588ab8e6f7fa4b7aa433c641cadd'
Iupick.environment = 'sandbox'
The waybill generation occurs on three steps.
Create a shipment on the iupick platform and receive a shipment token.
shipment_token = Iupick::Shipment.create(length=8,width=8,height=8,weight=1.1)
Fill the rest of the information required to generate a waybill, and receive a confirmation token.
You can send a shipment either to an arbitrary direction or to one of our waypoints; just replace the waypoint_id attribute for a recipient address.
shipper_address = Iupick.create_address(
city='Querétaro',
line_one='Epigmenio Gonzáles 500',
postal_code=76130,
line_two='',
neighborhood='Momma'
)
shipper_contact = Iupick.create_person(
person_name='Tony Stark',
phone_number='555555555',
email_address='tony@fakemail.com',
title='CEO',
company_name='Stark Industries',
phone_extension='123'
)
recipient_contact = Iupick.create_person(
person_name='Steve Rogers',
phone_number='555555555',
email_address='steve@fakemail.com',
title='Agent',
company_name='SHIELD',
phone_extension='123'
)
confirmation_token = Iupick::Shipment.add_information(
shipment_token = shipment_token,
waypoint_id = 486,
shipper_address = shipper_address,
shipper_contact = shipper_contact,
recipient_contact = recipient_contact,
third_party_reference = 'I am a shipment'
)
Generate your waybill with your confirmation token.
waybill_information = Iupick::Shipment.generate_waybill(
confirmation_token = confirmation_token
)
In order to track a shipment send the carrier and the tracking number.
tracking_info = Iupick::Shipment.track(
carrier = carrier, tracking_number = tracking_number
)
The Waypoints resource allows you to interact with all the delivery points from our network that are available to your account.
To pull the full information for a single waypoint. Use getWaypointInformation
It requires the waypoint unique id.
waypoint = Iupick::Waypoints.get_waypoint_information(waypoint_id = 20)
To get a list of all the coordinates of available waypoints, use
getWaypointsLite
.
waypoints = Iupick::Waypoints.get_waypoints_lite()
You can get all the waypoints close to a Postal Code with
getPostalCodeWaypoints
.
cp_waypoints = Iupick::Waypoints.get_postal_code_waypoints(postal_code = 95710)
FAQs
Unknown package
We found that iupick 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
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
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.