Sha256: 68f8c68441f121fc0f7afae6d6ce42d392b25a09eb5cfe3ce2e649dbbf990990
Contents?: true
Size: 637 Bytes
Versions: 2
Compression:
Stored size: 637 Bytes
Contents
# frozen_string_literal: true module FriendlyShipping module Services class UpsJson # Represents an access token returned by UPS. The access token can be used to make API requests. # Once it expires, a new token must be created. class AccessToken < FriendlyShipping::AccessToken # @return [Integer] the epoch time in ms when the token was issued attr_reader :issued_at # @param issued_at [Integer] the time the token was issued at def initialize(issued_at:, **other_kwargs) @issued_at = issued_at super(**other_kwargs) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
friendly_shipping-0.10.1 | lib/friendly_shipping/services/ups_json/access_token.rb |
friendly_shipping-0.10.0 | lib/friendly_shipping/services/ups_json/access_token.rb |