Class: Cumulus::Pmx
- Inherits:
-
Object
- Object
- Cumulus::Pmx
- Defined in:
- lib/cumulus/pmx.rb
Instance Method Summary collapse
- #companies(params) ⇒ Object
- #entitled(params) ⇒ Object
-
#initialize(client) ⇒ Pmx
constructor
A new instance of Pmx.
- #patient(params) ⇒ Object
Constructor Details
#initialize(client) ⇒ Pmx
Returns a new instance of Pmx.
3 4 5 |
# File 'lib/cumulus/pmx.rb', line 3 def initialize(client) @client = client end |
Instance Method Details
#companies(params) ⇒ Object
7 8 9 |
# File 'lib/cumulus/pmx.rb', line 7 def companies(params) client.request(:post, '/pemex/empresa', params) end |
#entitled(params) ⇒ Object
11 12 13 |
# File 'lib/cumulus/pmx.rb', line 11 def entitled(params) client.request(:post, '/pemex/derecho_habiente', params) end |
#patient(params) ⇒ Object
15 16 17 |
# File 'lib/cumulus/pmx.rb', line 15 def patient(params) client.request(:post, '/pemex/paciente', params) end |