lib/cryptum/api.rb in cryptum-0.0.381 vs lib/cryptum/api.rb in cryptum-0.0.382
- old
+ new
@@ -16,43 +16,10 @@
require 'cryptum/api/portfolio'
require 'cryptum/api/products'
require 'cryptum/api/rest'
require 'cryptum/api/signature'
- # public_class_method def self.get_profiles(opts = {})
- # option_choice = opts[:option_choice]
- # env = opts[:env]
-
- # profiles_api_call = '/profiles'
-
- # # We don't always get fees back from Coinbase...
- # # This is a hack to ensure we do.
- # profiles = {}
- # # loop do
- # profiles = Cryptum::API::Rest.call(
- # option_choice: option_choice,
- # env: env,
- # http_method: :GET,
- # api_call: profiles_api_call
- # )
-
- # # break unless fees.empty?
-
- # # sleep 0.3
- # # end
-
- # profiles
- # rescue StandardError => e
- # raise e
- # end
-
- # Display Usage for this Module
-
public_class_method def self.help
- puts "USAGE:
- profiles = #{self}.get_profiles(
- env: 'required - Coinbase::Option::Environment.get Object'
- )
- "
+ puts self.constants
end
end
end