class Bygpay::Configuration

Attributes

api_key[RW]
base_url[RW]
deposit_card_path[RW]
deposit_mobile_path[RW]
deposit_status_overide_path[RW]
deposit_status_path[RW]
withdraw_mobile_path[RW]
withdraw_status_overide_path[RW]
withdraw_status_path[RW]

Public Class Methods

new() click to toggle source
# File lib/bygpay/configuration.rb, line 8
def initialize
  @base_url = nil
  @api_key = nil

  # Preset default paths but allow for changes
  @deposit_mobile_path = '/deposits/mobile'
  @deposit_card_path = '/deposits/card'
  @deposit_status_overide_path = '/deposits/status-overide'
  @deposit_status_path = '/deposits'

  @withdraw_mobile_path = '/withdrawals/mobile'
  @withdraw_status_overide_path = '/withdrawals/status-overide'
  @withdraw_status_path = '/withdrawals'
end