Class: Springboard::Client

Inherits:
HeartlandRetail::Client show all
Defined in:
lib/heartland/client.rb

Overview

HeartlandRetail::Client with added deprecation warning for Springboard namespace

Constant Summary

Constants inherited from HeartlandRetail::Client

HeartlandRetail::Client::DEFAULT_CONNECT_TIMEOUT, HeartlandRetail::Client::DEFAULT_PER_PAGE, HeartlandRetail::Client::DEFAULT_TIMEOUT

Instance Attribute Summary

Attributes inherited from HeartlandRetail::Client

#base_uri, #connection

Instance Method Summary collapse

Methods inherited from HeartlandRetail::Client

#[], #auth, #count, #debug=, #delete, #delete!, #each, #each_page, #get, #get!, #head, #head!, #post, #post!, #put, #put!

Constructor Details

#initialize(base_uri, opts = {}) ⇒ Client

Returns a new instance of Client.



289
290
291
292
# File 'lib/heartland/client.rb', line 289

def initialize(base_uri, opts={})
  warn "[DEPRECATION] `Springboard::Client.new` is deprecated. Please use `HeartlandRetail::Client.new` instead."
  super
end