Class: CpsFunctions_2

Inherits:
Object
  • Object
show all
Defined in:
lib/imperituroard.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cps_wsdl, cps_endpoint, cps_namespace) ⇒ CpsFunctions_2

Returns a new instance of CpsFunctions_2.



383
384
385
# File 'lib/imperituroard.rb', line 383

def initialize(cps_wsdl, cps_endpoint, cps_namespace)
  @qps_connector = Qps_2.new(cps_wsdl, cps_endpoint, cps_namespace)
end

Instance Attribute Details

#qps_connectorObject

Returns the value of attribute qps_connector.



381
382
383
# File 'lib/imperituroard.rb', line 381

def qps_connector
  @qps_connector
end

Instance Method Details

#get_subscriber_profile(msisdn) ⇒ Object



393
394
395
# File 'lib/imperituroard.rb', line 393

def get_subscriber_profile(msisdn)
  qps_connector.get_subscriber_msisdn(msisdn)
end

#recreate_cps_profile(msisdn) ⇒ Object



387
388
389
390
391
# File 'lib/imperituroard.rb', line 387

def recreate_cps_profile(msisdn)
  p gettt = qps_connector.get_subscriber_msisdn(msisdn)
  p qps_connector.delete_subscriber(msisdn)
  p qps_connector.recreate_subscriber(gettt)
end