Sha256: 1e0a29cd91d535631dd3054e30802a8d6c46cacab8f1a481a76a8b7deacb7cc8

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 Bytes

Contents

class Sendle::Api::Ping < Sendle::Api::Resource
  include Sendle::Api::Actions::Index

  class << self
    alias_method :execute, :index
  end

  def url
    Sendle::Api.base_url + "ping"
  end

  def process_index_response(response)
    Sendle::Api::Responses::Pong.new
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sendle-api-0.0.13 lib/sendle/api/ping.rb
sendle-api-0.0.12 lib/sendle/api/ping.rb
sendle-api-0.0.11 lib/sendle/api/ping.rb