Class: RmsApiRuby::Orders

Inherits:
Order
  • Object
show all
Defined in:
lib/rms_api_ruby/orders.rb

Class Method Summary collapse

Methods inherited from Order

api_methods

Methods included from SoapApi

#api_methods, #call_api, #handle_error, #method_missing, #respond_to_missing?, #soap_client

Class Method Details

.call_api(method, args) ⇒ Object



10
11
12
13
# File 'lib/rms_api_ruby/orders.rb', line 10

def call_api(method, args)
  RmsApiRuby.configuration.logger.warn deprecation_message
  super(method, args)
end

.deprecation_messageObject



15
16
17
18
# File 'lib/rms_api_ruby/orders.rb', line 15

def deprecation_message
  "[DEPRECATION]: 'RmsApiRuby::Orders' class is deprecated."\
  " Use 'RmsApiRuby::Order' class instead."
end

.soap_clientObject



6
7
8
# File 'lib/rms_api_ruby/orders.rb', line 6

def soap_client
  RmsApiRuby::Order::Client
end