Sha256: 47108f2392c8f050954536daa0ab04478ab7074d02470e28e598ae29fc5e37fc
Contents?: true
Size: 410 Bytes
Versions: 7
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true require "hashie" module ShipEngine module Domain class Tokens def initialize @client = ShipEngine::Client.new end def ephemeral_token(params: {}) response = @client.post( path: ShipEngine::Constants::PATHS.v1.tokens.root, options: params ) Hashie::Mash.new(response.body) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems