Class: Moloni::Supplier

Inherits:
BaseModel show all
Defined in:
lib/moloni/models/supplier.rb

Constant Summary

Constants inherited from BaseModel

BaseModel::COMMON_ACRONYMS, BaseModel::ERROR_MESSAGES

Class Method Summary collapse

Methods inherited from BaseModel

all, composed_params, count, create, delete, find, format_url, #format_url, method_missing, post, respond_to_missing?

Class Method Details

.find_by_email(args) ⇒ Object



13
14
15
# File 'lib/moloni/models/supplier.rb', line 13

def self.find_by_email(args)
  post('getByEmail/', args)
end

.find_by_vat(args) ⇒ Object



9
10
11
# File 'lib/moloni/models/supplier.rb', line 9

def self.find_by_vat(args)
  post('getByVat/', args)
end