Class: Hws::Connectors::Hypto
- Inherits:
-
Hws::Connectors
- Object
- Hws::Connectors
- Hws::Connectors::Hypto
- Defined in:
- lib/hws-connectors/hypto/base.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Payout, VirtualAccount
Constant Summary collapse
- NAME =
'hypto'.freeze
- END_POINTS =
::YAML.load_file(File.join(__dir__, 'endpoints.yml')).freeze
Constants inherited from Hws::Connectors
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Hypto
constructor
A new instance of Hypto.
Methods inherited from Hws::Connectors
Methods included from Helper
Constructor Details
#initialize(options = {}) ⇒ Hypto
Returns a new instance of Hypto.
8 9 10 11 |
# File 'lib/hws-connectors/hypto/base.rb', line 8 def initialize( = {}) @api_token = ['api_token'] @base_url = "https://partners.hypto#{'.co' if ['env'].try(:to_sym) != :production}.in" end |