#NEWLINE# def __init__( self , base_uri , username , password ) : #NEWLINE# #INDENT# self . base_uri = base_uri . rstrip ( '/' ) #NEWLINE# self . username = username #NEWLINE# self . password = password #NEWLINE# self . _feed_uri = self . _urlcombine ( self . base_uri , '/feeds' ) #NEWLINE# self . facility_master_feed_uri = self . _urlcombine ( self . _feed_uri , '/facilities' ) #NEWLINE# self . facility_program_feed_uri = self . _urlcombine ( self . _feed_uri , '/programs-supported' ) #NEWLINE# self . program_catalog_feed_uri = self . _urlcombine ( self . _feed_uri , '/program-catalog-changes' ) #NEWLINE# self . requisition_status_feed_uri = self . _urlcombine ( self . _feed_uri , '/requisition-status' ) #NEWLINE# self . _rest_uri = self . _urlcombine ( self . base_uri , '/rest-api' ) #NEWLINE# self . create_virtual_facility_url = self . _urlcombine ( self . _rest_uri , '/agents.json' ) #NEWLINE# self . update_virtual_facility_base_url = self . _urlcombine ( self . _rest_uri , '/agents' ) #NEWLINE# self . program_product_url = self . _urlcombine ( self . _rest_uri , '/program-products.json' ) #NEWLINE# self . requisition_details_url = self . _urlcombine ( self . _rest_uri , '/requisitions' ) #NEWLINE# self . confirm_delivery_base_url = self . _urlcombine ( base_uri . _rest_uri , '/orders' )