Module: Metabase::Connection
- Included in:
- Client
- Defined in:
- lib/metabase/connection.rb
Instance Method Summary collapse
- #delete(path, **params) ⇒ Object
- #get(path, **params) ⇒ Object
- #head(path, **params) ⇒ Object
- #post(path, **params) ⇒ Object
- #put(path, **params) ⇒ Object
Instance Method Details
#delete(path, **params) ⇒ Object
21 22 23 |
# File 'lib/metabase/connection.rb', line 21 def delete(path, **params) request(:delete, path, params) end |
#get(path, **params) ⇒ Object
9 10 11 |
# File 'lib/metabase/connection.rb', line 9 def get(path, **params) request(:get, path, params) end |
#head(path, **params) ⇒ Object
25 26 27 |
# File 'lib/metabase/connection.rb', line 25 def head(path, **params) request(:head, path, params) end |
#post(path, **params) ⇒ Object
13 14 15 |
# File 'lib/metabase/connection.rb', line 13 def post(path, **params) request(:post, path, params) end |
#put(path, **params) ⇒ Object
17 18 19 |
# File 'lib/metabase/connection.rb', line 17 def put(path, **params) request(:put, path, params) end |