Module: PiholeApi::UnauthorisedEndpoints
- Included in:
- Client
- Defined in:
- lib/pihole-api/unauthorised_endpoints.rb
Instance Method Summary collapse
-
#type ⇒ Object
These endpoints dont need to be authorised discourse.pi-hole.net/t/pi-hole-api/1863.
- #version ⇒ Object
Instance Method Details
#type ⇒ Object
These endpoints dont need to be authorised discourse.pi-hole.net/t/pi-hole-api/1863
6 7 8 9 |
# File 'lib/pihole-api/unauthorised_endpoints.rb', line 6 def type command = 'type' (http_method: :get, command: command) end |
#version ⇒ Object
11 12 13 14 |
# File 'lib/pihole-api/unauthorised_endpoints.rb', line 11 def version command = 'version' (http_method: :get, command: command) end |