Module: FabricCA::Request
- Included in:
- Client
- Defined in:
- lib/fabric_ca/request.rb
Instance Method Summary collapse
- #delete(path, params = {}, options = {}) ⇒ Object
- #get(path, params = {}, options = {}) ⇒ Object
- #post(path, params = {}, options = {}) ⇒ Object
- #put(path, params = {}, options = {}) ⇒ Object
Instance Method Details
#delete(path, params = {}, options = {}) ⇒ Object
15 16 17 |
# File 'lib/fabric_ca/request.rb', line 15 def delete(path, params = {}, = {}) request :delete, path, params, end |
#get(path, params = {}, options = {}) ⇒ Object
3 4 5 |
# File 'lib/fabric_ca/request.rb', line 3 def get(path, params = {}, = {}) request :get, path, params, end |
#post(path, params = {}, options = {}) ⇒ Object
7 8 9 |
# File 'lib/fabric_ca/request.rb', line 7 def post(path, params = {}, = {}) request :post, path, params, end |
#put(path, params = {}, options = {}) ⇒ Object
11 12 13 |
# File 'lib/fabric_ca/request.rb', line 11 def put(path, params = {}, = {}) request :put, path, params, end |