class FattureInCloudRuby::Clients::Proforma
Public Instance Methods
create(**params)
click to toggle source
# File lib/fatture_in_cloud_ruby/clients/proforma.rb, line 30 def create(**params) puts params.inspect post( path: 'proforma/nuovo', json: { api_uid: FattureInCloudRuby::Settings.config.api_uid, api_key: FattureInCloudRuby::Settings.config.api_key }.merge(params) ) end
delete(id)
click to toggle source
# File lib/fatture_in_cloud_ruby/clients/proforma.rb, line 20 def delete(id) post( path: 'proforma/elimina', json: { api_uid: FattureInCloudRuby::Settings.config.api_uid, api_key: FattureInCloudRuby::Settings.config.api_key }.merge(id: id) ) end
list(**params)
click to toggle source
# File lib/fatture_in_cloud_ruby/clients/proforma.rb, line 8 def list(**params) post( path: 'proforma/lista', json: { api_uid: FattureInCloudRuby::Settings.config.api_uid, api_key: FattureInCloudRuby::Settings.config.api_key }.merge(params) ) end
retrieve(id)
click to toggle source
# File lib/fatture_in_cloud_ruby/clients/proforma.rb, line 18 def retrieve(id); end