Class: CpsFunctions_2
- Inherits:
-
Object
- Object
- CpsFunctions_2
- Defined in:
- lib/imperituroard.rb
Instance Attribute Summary collapse
-
#qps_connector ⇒ Object
Returns the value of attribute qps_connector.
Instance Method Summary collapse
- #get_subscriber_profile(msisdn) ⇒ Object
-
#initialize(cps_wsdl, cps_endpoint, cps_namespace) ⇒ CpsFunctions_2
constructor
A new instance of CpsFunctions_2.
- #recreate_cps_profile(msisdn) ⇒ Object
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_connector ⇒ Object
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 |