Class: NovaposhtaApi::Resources::InternetDocumentResource
- Inherits:
-
NovaposhtaApi::Resource
- Object
- NovaposhtaApi::Resource
- NovaposhtaApi::Resources::InternetDocumentResource
- Defined in:
- lib/novaposhta_api/resources/internet_document_resource.rb
Instance Attribute Summary
Attributes inherited from NovaposhtaApi::Resource
Instance Method Summary collapse
Methods inherited from NovaposhtaApi::Resource
Constructor Details
This class inherits a constructor from NovaposhtaApi::Resource
Instance Method Details
#create(params = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/novaposhta_api/resources/internet_document_resource.rb', line 6 def create(params = {}) response = request('InternetDocument/save', params) NovaposhtaApi::Models::InternetDocument.extract_single(response) end |