Sha256: 86ab8f578468d7d7f97eda26e9cde4112c0117c00a5560f7ce189fe8a5e18833
Contents?: true
Size: 990 Bytes
Versions: 78
Compression:
Stored size: 990 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 Interrupt, StandardError => e Cryptum::Log.append(level: :error, msg: e, which_self: self) 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
78 entries across 78 versions & 1 rubygems