Class: Sendle::Api::Ping
- Includes:
- Actions::Index
- Defined in:
- lib/sendle/api/ping.rb
Instance Method Summary collapse
Methods included from Actions::Index
Methods inherited from Resource
#include_credentials?, #method_missing, #process_create_response, #process_destroy_response, #process_show_response, url, #validate_create_request!, #validate_index_request!
Methods included from Actions::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sendle::Api::Resource
Instance Method Details
#process_index_response(response) ⇒ Object
12 13 14 |
# File 'lib/sendle/api/ping.rb', line 12 def process_index_response(response) Sendle::Api::Responses::Pong.new end |
#url ⇒ Object
8 9 10 |
# File 'lib/sendle/api/ping.rb', line 8 def url Sendle::Api.base_url + "ping" end |