Class: Wompi::Resource
- Inherits:
-
Object
show all
- Defined in:
- lib/wompi/resource.rb
Class Method Summary
collapse
Class Method Details
.get(path, params = {}, auth_type: :private) ⇒ Object
3
4
5
|
# File 'lib/wompi/resource.rb', line 3
def self.get(path, params = {}, auth_type: :private)
Client.new.call(:get, path, params, auth_type: auth_type)
end
|
.post(path, params = {}, auth_type: :private) ⇒ Object
7
8
9
|
# File 'lib/wompi/resource.rb', line 7
def self.post(path, params = {}, auth_type: :private)
Client.new.call(:post, path, params, auth_type: auth_type)
end
|