Sha256: c3aa588df8b9e3a708ff0728aeb3ce61fc6e9b0c2aad04c0f4cc129895bd6ffa
Contents?: true
Size: 926 Bytes
Versions: 6
Compression:
Stored size: 926 Bytes
Contents
# frozen_string_literal: true module Cryptum # This module is used to Interact with the APIs module API # Module specifically related to orders history retrieval. module Fees # Obtain latest order history public_class_method def self.get(opts = {}) option_choice = opts[:option_choice] env = opts[:env] fees_api_call = '/fees' Cryptum::API::Rest.call( option_choice: option_choice, env: env, http_method: :GET, api_call: fees_api_call ) rescue StandardError => e raise e end # Display Usage for this Module public_class_method def self.help puts "USAGE: fees = #{self}.get( env: 'required - Coinbase::Option::Environment.get Object', option_choice: 'required - Coinbase::Option::Choice Object' ) " end end end end
Version data entries
6 entries across 6 versions & 1 rubygems