Class: EvssIntentToFileProvider
- Inherits:
-
Object
- Object
- EvssIntentToFileProvider
- Includes:
- IntentToFileProvider
- Defined in:
- lib/disability_compensation/providers/intent_to_file/evss_intent_to_file_provider.rb
Instance Method Summary collapse
- #create_intent_to_file(type, _client_id, _rsa_key_path) ⇒ Object
- #get_intent_to_file(_type, _client_id, _rsa_key_path) ⇒ Object
-
#initialize(current_user = nil, auth_headers = nil) ⇒ EvssIntentToFileProvider
constructor
A new instance of EvssIntentToFileProvider.
Methods included from IntentToFileProvider
create_intent_to_file, get_intent_to_file
Constructor Details
#initialize(current_user = nil, auth_headers = nil) ⇒ EvssIntentToFileProvider
Returns a new instance of EvssIntentToFileProvider.
9 10 11 |
# File 'lib/disability_compensation/providers/intent_to_file/evss_intent_to_file_provider.rb', line 9 def initialize(current_user = nil, auth_headers = nil) @service = EVSS::IntentToFile::Service.new(current_user, auth_headers) end |
Instance Method Details
#create_intent_to_file(type, _client_id, _rsa_key_path) ⇒ Object
17 18 19 |
# File 'lib/disability_compensation/providers/intent_to_file/evss_intent_to_file_provider.rb', line 17 def create_intent_to_file(type, _client_id, _rsa_key_path) @service.create_intent_to_file(type) end |
#get_intent_to_file(_type, _client_id, _rsa_key_path) ⇒ Object
13 14 15 |
# File 'lib/disability_compensation/providers/intent_to_file/evss_intent_to_file_provider.rb', line 13 def get_intent_to_file(_type, _client_id, _rsa_key_path) @service.get_intent_to_file end |